> What I am trying to achieve is a redelivery happening from the beginning of
> the route, putting the message back on the inbound queue (which lives in a
> distributed message broker) so to reduce at minimum the possibility of
> loosing the message in case the JVM performing the camel retries fails.

Consider sending the message to the persistent DLC [1] (like
persistent JMS queue [2], JDBC [3], db4o [4], Hibernate [5], HawtDB
[5] and so forth). Then you can read from the DLC by yourself and try
to redeliver the message.

[1] http://camel.apache.org/dead-letter-channel.html
[2] http://camel.apache.org/jms.html
[3] http://camel.apache.org/jdbc.html
[4] http://camel.apache.org/db4o.html
[5] http://camel.apache.org/hibernate.html
[6] http://camel.apache.org/hawtdb.html

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to