Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

CXF Inbound Interceptor - Access to POJO

$
0
0
I am able to use :/final MessageContentsList objs =
MessageContentsList.getContentsList(message.getExchange().getOutMessage());/to
gain access to the outbound POJO.Is it possible to do the same on an Inbound
Intercepter? I have tried inserting the intecepter at Phase.PRE_INVOKE,
Phase.INVOKE Phase.POST_INVOKE. And using something similar to
above:/final MessageContentsList objs =
MessageContentsList.getContentsList(message.getExchange().getInMessage());/doesn't
seem to do the trick.Is it possible to get access to the unmarshalled POJO
before it is sent on it's way?

Viewing all articles
Browse latest Browse all 5648

Trending Articles