Re: How to deal with failures on a queue

2011-08-18 Thread Walter Closenfleight
Thank you to both! On Thu, Aug 18, 2011 at 2:57 AM, Dejan Bosanac wrote: > Also take a look at this article > > http://activemq.apache.org/message-redelivery-and-dlq-handling.html > > Regards > -- > Dejan Bosanac - http://twitter.com/dejanb > - > The experts in open source integr

Re: How to deal with failures on a queue

2011-08-18 Thread Dejan Bosanac
Also take a look at this article http://activemq.apache.org/message-redelivery-and-dlq-handling.html Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/sny

Re: How to deal with failures on a queue

2011-08-17 Thread Hervé BARRAULT
HI, if you are using Enterprise Integration Patterns, you can use the DeadLetterChannel Pattern : http://www.enterpriseintegrationpatterns.com/DeadLetterChannel.html Regards 2011/8/17 Walter Closenfleight > I'm confused on how to deal with failures. > > If any part of my logic in the processMsg

How to deal with failures on a queue

2011-08-17 Thread Walter Closenfleight
I'm confused on how to deal with failures. If any part of my logic in the processMsg (below) fails (external resources not available, wrong parameters passed in queueMsg, etc.) then I do not want the message to be dequeued. I realize, however, that the message will then just fire again and keep fa