On 23/09/2020 3:13 pm, umohank wrote:
receiver.fetch() waits infinitely if there is no duration mentioned . As I have mentioned 5 seconds, It wait for 5 seconds and come out if no message in Queue.Note : I am getting CPU high even if there is not message in queue to consume. I have tried receiver.fetch with abnd without duration, in both case I am getting CPU high.
Get a protocol trace (set env var QPID_LOG_ENABLE=trace=+Protocol) and get a pstack thread dump for the client process. That might give you more information.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
