Re: Catch camel exception in java code

2011-11-23 Thread majiedahamed
Thanks ..it is working,there was problem in my war -- View this message in context: http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5016667.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Catch camel exception in java code

2011-11-23 Thread Claus Ibsen
ease suggest should i use parameter to the below and try ? > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5016627.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Clau

Re: Catch camel exception in java code

2011-11-23 Thread majiedahamed
Also please suggest how can i use @ExchangeException To bind to an Exception set on the exchange (Camel 2.0) here ..!! -- View this message in context: http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5016642.html Sent from the Camel - Users mailing list archive

Re: Catch camel exception in java code

2011-11-23 Thread majiedahamed
context: http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5016627.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Catch camel exception in java code

2011-11-23 Thread majiedahamed
Sorry class is like this public class MyBean { public void doSomething(Object body, Exception cause) { cause.printStackTrace(); } } -- View this message in context: http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5016574

Re: Catch camel exception in java code

2011-11-23 Thread Claus Ibsen
ing some thing here ,Please suggest !!!! > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5016570.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen - Fuse

Re: Catch camel exception in java code

2011-11-23 Thread majiedahamed
I need help in binding the Exception object from Camel to the bean It not working Am i missing some thing here ,Please suggest -- View this message in context: http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5016570.html Sent from the Camel - Users mailing

Re: Catch camel exception in java code

2011-11-23 Thread Claus Ibsen
?? variables types in beans >  public void doSomething(Object body, Exception cause) { > >  } > } > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5016288.html > Sent from the Camel - Users mai

Re: Catch camel exception in java code

2011-11-23 Thread majiedahamed
) { } } -- View this message in context: http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5016288.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Catch camel exception in java code

2011-11-23 Thread Claus Ibsen
> > > > > > +++++ > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5015714.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Catch camel exception in java code

2011-11-23 Thread majiedahamed
true + -- View this message in context: http://camel.465427.n5.nabble.com/Catch-camel-exception-in-java-code-tp5015714p5015714.html Sent from the Camel - Users