Prathiba,
What is the type of the exchange variable in your DelegateProcessor
then? Could you do a System.out.println(exchange.getClass()); to check
this in your process() method?
Regards,
Gert
pratibhaG wrote:
I am still not able to get JBIExchange instance inside Camel. Please help me
to get it so that I can use the information which I know
I have following information.
1)From message MessageExchange instance I can get serviceName using method
getService()
2)As you said I can get MessageExchange instance using
JBIExchange.getMessageExchange()
I don't know how to get JBIExchange so that I can call getMessageExchange()
on it.
please help.
Pratibha