The above code works. It results in the route being rollbacked. The message is kept on the queue, and our bundle is stopped.
Though what we don't understand is the position and roll of the markRollbackOnly(). We expected to use this. But putting the markRollbackOnly after the onException(IOException.class).markRollbackOnly(), it shows different behaviour when putting it at the end of the onException(..). It even seems that we don't need it anyway... -- View this message in context: http://camel.465427.n5.nabble.com/Transactions-Error-Stop-route-tp5723438p5723591.html Sent from the Camel - Users mailing list archive at Nabble.com.
