Hi,

somebody Could  tell me how to redelivery message in the below case.

I have a client bundle deployed in karaf(used camel 2.10.4 and karaf 2.3.3).
there is a camel route in the client bundle. Code as below:

<from uri="timer://myTimer?fixedRate=true&amp;period=100" />
<--IdOsgiTestProcessor just used to created message body--> 
<to id="osgiTestProcessor" uri="osgiTestProcessor"/>
<--processorService is a osgi service implemented in a service bundle--> 
<bean ref="processorService" method="processTest(${body})"/>
<--logProcessor is just  used to log the returned value from service
bundle--> 
<to id="IdLogProcessor" uri="logProcessor"/>                        

Normally if the processorService is in processing, the processorService will
returen value 0. When use restart the processorService  in another bundle,
sometimes the processorService  will returns null. 

So I  want to config the camel make it  redelivery the message  if the
processorService  returens null?
Is there any way?










--
View this message in context: 
http://camel.465427.n5.nabble.com/how-to-do-redelivery-message-tp5748060.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to