Hi,

That's because there's no soap headers in your message at all per your wsdl model

Freeman
On 2009-8-11, at 下午3:23, inter wrote:


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.



--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to