2008/9/9 Punnoose, Roshan A. <[EMAIL PROTECTED]>:
> I tried searching on this problem, but couldn't come up with anything.
> Basically, i am using Spring and Camel Annotations to inject a
> ProducerTemplate into a class and use the method requestBody to send an
> object to a certain endpoint:
>
> producerTemplate.requestBody("direct:workflow", obj);
>
> Now if the route specified by "direct:workflow" throws an exception, i
> want it to bubble that exception up to the class invoking the
> ProducerTemplate. Instead, the ProducerTemplate returns the same Object
> (obj) that I used as a parameter. How can I get it to throw the correct
> exception instead?Ooh, this looks like a bug :). I've raised an issue for this https://issues.apache.org/activemq/browse/CAMEL-885 -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
