camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anirban.gupta4" <>
Subject Exception handling in camel
Date Wed, 29 Mar 2017 09:57:36 GMT

I have a Camel route like this

					.process(new Processor1())
					.setHeader(CxfConstants.OPERATION_NAME, constant("op1"))
					.setHeader(CxfConstants.OPERATION_NAMESPACE, constant("ns1"))
					.process(new Processor2())
					.process(new ExceptionProcessor())

In ExceptionProcessor() which is called from doCatch((), I want to get the
exception object as well as the  original message bean when the message
enters the flow. Say it is Bean1.

Is it possible to get these two object from inside doCatch()? Please

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message