Bruce Snyder пишет:
On Wed, Sep 10, 2008 at 10:38 AM, ivan <[EMAIL PROTECTED]> wrote:
Hi!
I use AMQ 5.1.0 and I have following situation:
JMS consumer can reveice JMS-messages and processes it for some time (for
example, more than 1 sec).
For testing I send few messages in a short time (5 messages per 1 second).
I see in AMQ console (http://localhost:8161/admin/queues.jsp): consumer
accepted 1 message, and other messages is redirected to ActiveMQ.DLQ queue.
I would to have foolowing behaviour:
JMS consumer accepts all messages and no one message is delivered to
ActiveMQ.DLQ.
How can I achive it?
I read http://activemq.apache.org/redelivery-policy.html, but I could not
achive required result.
Probably it is because of I'm beginner in using AMQ and I don't know for now
a lot of things around AMQ and JMS...
I'm wondering why with so few messages they wind up in the DLQ. Are
you setting a very short time to live on the messages you're sending?
You are right! :)
I set timeToLive 1000 ms... Now I set it to UNLIMITED (value 0), and it
seems it works well :)
Thanks for the hint!
Truly yours,
Ivan Pryvalov.
Bruce