You can look at transactions so the message is rolled back to the queue. http://camel.apache.org/transactional-client.html
Mind that if you have a message that keep failing (poison message) then you need the message broker to move such messages to a dead letter queue or some sorts so new messages can be processed instead. For example ActiveMQ has that and it will move messages to its DQL after 6 failures (configurable). I am not sure what Oracle offers in this regard. On Tue, Jun 21, 2016 at 12:48 PM, Sverre Nyheim <sverre.nyh...@politiet.no> wrote: > Greetings! > > My problem is probably pretty Oracle-spesiffic. > > My application reads form queues in an Oracle DB. > > When my app reads from a queue an processing fails I would like the read > message to be put back onto the queue in a failed state. For some reason I > cannot make Camel do this. > > Some colleagues of mine that just uses Spring to read directly from the > queues have this happen automatically. > > I have tried setting handeled(false) to no avail. > > Have anyone else had this problem? Cause I'm stumped. > > Kind Regards > Sverre Nyheim > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Can-t-get-things-on-Oracle-DB-backout-queue-tp5784298.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2