Hi Sven,
I changed my phase to:

        public CamelExceptionInterceptor() {
                super(Phase.SETUP);
        }

and now I see the exception, but I can't get the CamelExchange (it is null):

            Exchange exchange = (Exchange)
message.get(CxfConstants.CAMEL_EXCHANGE);
            exchange.setException(exception);

I am in the debugger and I see the Camel headers and message information in
the CXF Message but I am unable to get the Camel Exchange.

Any ideas?

Thanks,
Yogesh


--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-Camel-JMS-Endpoint-exception-handling-tp4471174p5490748.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to