On 01/07/2010 12:21 PM, denny86 wrote:
denny86 wrote:
Yes, got it.. Using session to acquire and accept messages would fail
after sometime. But using Subscription Instance, i face no problem.
Now enqueue/dequeue operations are working smooth.. No issues so far,
200,000 messages processed without fail. ;)
Thank you Gordon :)
Regards,
Denny
But there is a problem when number of queues increased. It fails miserably.
Out of three queues, first queue depth reported is 0, after acquiring and
accepting. Its ok! But other two would still contain 10%-20% messages within
queues even after acquiring and accepting. This leads to abormal termination
of client.
Each subscription will have its own Subscription instance. You will need
to acquire and accept messages received from each queue through the
relevant Subscription object.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]