camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Tam" <>
Subject Re: [PROPOSAL] ProtocolMessage
Date Tue, 24 Jun 2008 15:28:40 GMT
> I just checked  that CXF also puts the protocol header as a Object with the
> key Message.PROTOCOL_HEADERS in the CXF message[1]. If you want to get the
> protocol headers of the CXF message, you can retrieve it from CxfMessage's
> getHeader with the Message.PROTOCOL_HEADERS.

Yes, I aware of that but I want to avoid special-casing CxfMessage in
my client code.  I.e. can't do something this.  I can't even import
cxf module in that module.

if (message instanceof CxfMessage) {
  Map<String, List<String>> headers =

View raw message