If you set handled(true) on your onException then that ought to fix the issue you have.
On Wed, Apr 24, 2013 at 7:44 PM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > Yeah I can see this is a bug. I have logged a ticket. Thanks for > reporting this problem to the community. > https://issues.apache.org/jira/browse/CAMEL-6311 > > On Tue, Apr 23, 2013 at 8:05 AM, aram <antonra...@gmail.com> wrote: >> I tried it on a camel 2.11.0 , but there is the same problem : >> >> java.lang.AssertionError: mock://log:send Received message count. Expected: >> <4> but was: <28> >> >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073p5731319.html >> Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > FuseSource is now part of Red Hat > Email: cib...@redhat.com > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen