servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inter <gaoz...@126.com>
Subject Re: When JBiMsg sent from cxf-bc to camel,javax.jbi.messaging.protocol.headers was lost.
Date Tue, 11 Aug 2009 07:23:55 GMT

I debug it in eclipse and found  that:

the "javax.jbi.messaging.protocol.headers" property was set in
org.apache.servicemix.cxfbc.interceptors.JbiInInterceptor

normalizedMessage.setProperty(CxfJbiConstants.PROTOCOL_HEADERS, headers);


heards is empty,which is from  message.getHeaders

 public List<Header> getHeaders() {
        List<Header> heads =
CastUtils.cast((List<?>)get(Header.HEADER_LIST));
        if (heads == null) {
            heads = new ArrayList<Header>();
            put(Header.HEADER_LIST, heads);
        }
        return heads;
    }

it is empty,too.    It's strange.
-- 
View this message in context: http://www.nabble.com/When-JBiMsg-sent-from-cxf-bc-to-camel%2Cjavax.jbi.messaging.protocol.headers-was-lost.-tp24912015p24912928.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Mime
View raw message