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

Modifying PATH in CXF Message

$
0
0
Hi all,

How to modify /path/ information in org.apache.cxf.message.Message.

I got the /path/ info from the incoming message as shown below. Now I need
to set a part of the /path/ param with a new value and set it back to the
org.apache.cxf.message.Message. How do I do it?

*Message inMessage = message.getExchange().getInMessage();
pathInfo = ( String )inMessage.get( Message.PATH_INFO );*

I modified the pathinfo. I need to add it back to the inMessage.

Help is appreciated.

Thanks in adavance.

Viewing all articles
Browse latest Browse all 5648

Trending Articles