Hi, DLQs are probably a way to go. See here for more info http://activemq.apache.org/message-redelivery-and-dlq-handling.html
Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Nov 11, 2009 at 10:21 AM, Alexey Romanchuk < alexey.romanc...@gmail.com> wrote: > > So there is no simple way to put message on the "end" of queue on rollback? > > I mean I understand how it can be workarounded but I will duplicate logic > of > redelivery and redelivery configuration. Also what about DLQ for not > processed messages? > > > magellings wrote: > > > > See http://www.nabble.com/Transactions-and-redelivery-td25915300.html > > > > > > > > Alexey Romanchuk wrote: > >> > >> Thanks for reply Gary, it is exactly what I need. Could you also tell me > >> where I can specify that failed message should go to the end of queue to > >> allow to process other existing messages in queue? > >> For now if message fails and goes back to queue same message always > sends > >> to consumer. I want to push this message to the end of queue in case of > >> fail. > >> > >> Thanks a lot! > >> > >> , > >> > >> Gary Tully wrote: > >>> > >>> see some detail @ http://activemq.apache.org/redelivery-policy.html > >>> > >>> > >>> 2009/10/23 Alexey Romanchuk <alexey.romanc...@gmail.com> > >>> > >>>> > >>>> Hi, all > >>>> > >>>> Assume you had a queue with 3 messages in it. Consumer use transacted > >>>> session and try to process first messages. Then he fails and call > >>>> rollback > >>>> on transaction. Is there any way to configure number of retries in > this > >>>> case? > >>>> > >>>> Thanks! > >>>> -- > >>>> View this message in context: > >>>> > http://www.nabble.com/Configuring-number-of-retries-tp26023651p26023651.html > >>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >>>> > >>>> > >>> > >>> > >>> -- > >>> http://blog.garytully.com > >>> > >>> Open Source Integration > >>> http://fusesource.com > >>> > >>> > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/Configuring-number-of-retries-tp26023651p26298291.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >