thanks! In which phase the interceptor should intervene?

Freeman Fang wrote:
> 
> Hi Davide,
> 
> You can write an interceptor to add the fields you want in to 
> org.apache.cxf.message.Message.PROTOCOL_HEADERS of the outgoing message
> something like
> Map<String, List<String>> protHeaders = CastUtils.cast((Map<?,
> ?>)outMessage
>             .get(org.apache.cxf.message.Message.PROTOCOL_HEADERS));
> protHeadser.put (the soap header whatever you want)
> 
> And the protHeaders will map to JMS header in JMS transport.
> 
> Freeman
> 
> 
> Davide Gesino wrote:
>> Hi,
>>
>> I have a requirement to map some fields present in one of my SOAP headers
>> at
>> transport level in a JMS header.
>> What is the best way to do that?
>> My broker is Active MQ.
>> Should I use something like Camel?
>>
>> Davide
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/SOAP-HEaser-to-JMS-Header-tp20243689p20244500.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to