camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srikanthsettivari <srikanth.settiv...@gmail.com>
Subject Transactions in camel
Date Tue, 21 May 2013 04:35:57 GMT
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.

Mime
View raw message