Hi,

We are in the process of migrating from ServiceMix 3.2.2 to ServiceMix
3.3.1, hence migrating from servicemix-cxf-bc-3.2.2 to
servicemix-cxf-bc-2009.01.

We have a CXF provider which invokes an external Web Service, with an InOut
pattern. 
On the IN Interceptor Chain (response), it has a special interceptor which
picks up a header from the message and does some processing on it, injecting
the result on the original JBI MessageExchange as a property.

We used to be able to access the original JBI MessageExchange with the
following:

MessageExchange mex = (MessageExchange) message.get(MessageExchange.class);

But now it seems to return null always. We have also tried with
message.getExchange().get(MessageExchange.class), to no avail.

Any idea why this is? The interceptor is initialised with:

                super(Phase.PRE_INVOKE);
                addAfter(JbiInWsdl1Interceptor.class.getName());

and it extends AbstractPhaseInterceptor<Message>.

Many thanks in advance!

Raul.


-- 
View this message in context: 
http://old.nabble.com/Picking-up-the-MessageExchange-on-a-CXF-Interceptor-tp27909620p27909620.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to