« Return to Thread: very slow consumer cpu 100%

very slow consumer cpu 100%

by shital :: Rate this Message:

Reply to Author | View in Thread

i have application where JMS server sends me like couple of messages per second and i have consumer which is very slow. and eventually cpu usage becomes 100% on consumer's machine. I am using Topic n ot queues. i have set the prefecth size to 1 on consumer machine. what can i do to control messages.

my JMS server is fine and its dropping messages if client can not keep up, thats fine as these are stock prices. but how can i control cpu usage on consumer's machine

Thanks
Shital

 « Return to Thread: very slow consumer cpu 100%