camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Transactions in camel
Date Tue, 21 May 2013 12:42:11 GMT
You should consider the redeliveryPlugin on the broker side that should
help you with this:

See bottom of this:

http://activemq.apache.org/message-redelivery-and-dlq-handling.html


On Mon, May 20, 2013 at 9:35 PM, srikanthsettivari <
srikanth.settivari@gmail.com> wrote:

> Hi my route is like this
>
>   from("activemq:queue:partners")
>                     .transacted()
>
>
>                   .process(new Processor() {
>                                         public void process(Exchange
> exchange) throws Exception {
>                                                 // TODO Auto-generated
> method stub
>                                                 String recipients =
>
> "activemq:queue:output1,activemq:queue:output2,activemq:queue:output3,pppppp";
>
> exchange.getIn().setHeader("recipients", recipients);
>
>
>                                         }
>                                 })
>
>                                 .recipientList(header("recipients"));
>
>
> --If transaction fails it will going to the dead letter queue, insted of
> going the dead letter queue, it should be available in partners queue.
>
> How can i configure my route
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Transactions-in-camel-tp5732863.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message