Re: problem with exception in the recipientList

2016-03-22 Thread nuskhu
= pNewExchange.getIn().getBody(String.class); pNewExchange.getIn().setBody(text + "/aggregation/" + text2); } return pNewExchange; } } -- View this message in context: http://camel.465427.n5.nabble.com/problem-with-exception-in-the-recipientList-tp5779499p

Re: problem with exception in the recipientList

2016-03-22 Thread Claus Ibsen
ER.debug(message); > > try { > Thread.sleep(1000L); > } catch (InterruptedException e) { > e.printStackTrace(); > } > > throw new RuntimeException("BOUM !"); > > } > } > > > > -- > View this message

Re: problem with exception in the recipientList

2016-03-22 Thread nuskhu
} } -- View this message in context: http://camel.465427.n5.nabble.com/problem-with-exception-in-the-recipientList-tp5779499p5779508.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: problem with exception in the recipientList

2016-03-22 Thread Claus Ibsen
topOnException should > allow to stop when an Exception rise from an endpoint. > > thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/problem-with-exception-in-the-recipientList-tp5779499.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

problem with exception in the recipientList

2016-03-22 Thread nuskhu
e option stopOnException should allow to stop when an Exception rise from an endpoint. thanks -- View this message in context: http://camel.465427.n5.nabble.com/problem-with-exception-in-the-recipientList-tp5779499.html Sent from the Camel - Users mailing list archive at Nabble.com.