Pratibha,You should cast the exchange to JbiExchange before you can access the getMessageExchange() method
JbiExchange jbiexchange = (JbiExchange) exchange; MessageExchange me = jbiexchange.getMessageExchange();
Gert pratibhaG wrote:
The class of the exchange is org.apache.servicemix.camel.JbiExchangebut if I do this exchange.getMessageExchange();it gives me compile time error saying method is undefined. Am i doing something wrong? Pratibha
