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.