Hello,

I use a direct endpoint to access a service that throws a RuntimeException
and on the calling side I get a UndeclaredThrowableException (with the
nested RuntimeException deep in the stack) instead of the expected
RuntimeException. 
Maybe I missed something and this be changed by configuration somewhere ...
or is this standard behaviour if CamelProxyFactoryBean is used to create the
proxy?

I've attached a sample project based on the camel-example-pojo-messaging
project that shows the problem.

Another small 
http://www.nabble.com/file/p24825646/camel-problem-pojo-messaging.zip
camel-problem-pojo-messaging.zip thing:
In the sample camel-example-pojo-messaging the @Consume(uri =
"file:src/data?noop=true") should be changed to @Consume(uri =
"file:src/data?noop=true&readLock=none") because otherwise the user has to
delete the lock files in the src/data directory after each run, otherwise
the files will not be read in subsequent runs.

Cheers,
Andi
-- 
View this message in context: 
http://www.nabble.com/Camel-Spring-Remoting-throwing-RuntimeException-question-tp24825646p24825646.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to