Re: Problem with headers of DefaultMessage being case insensitive

2010-02-03 Thread Claus Ibsen
On Thu, Feb 4, 2010 at 7:42 AM, Christian Schneider wrote: > Hi Claus, > > I will try this but I guess then a CXF server would be broken as it expects > the uppercase version. I could of course only activate the processor if the > receiver is a tibco system. As a workaround this would work but it

Re: Problem with headers of DefaultMessage being case insensitive

2010-02-03 Thread Christian Schneider
Hi Claus, I will try this but I guess then a CXF server would be broken as it expects the uppercase version. I could of course only activate the processor if the receiver is a tibco system. As a workaround this would work but it would mean that we can not easily switch a service from a tibco t

Re: Problem with headers of DefaultMessage being case insensitive

2010-02-03 Thread Claus Ibsen
On Wed, Feb 3, 2010 at 11:53 AM, Schneider Christian wrote: > Hi all, > > we are using camel and cxf to do SOAP/JMS. The other side is sometimes a > Tibco Business Works system. The problem there is that they use a non > standard header for SOAPAction. In Business works they expect it to be > spel

Re: Problem with headers of DefaultMessage being case insensitive

2010-02-03 Thread Christian Schneider
Hi Claus, I even tried to access the headers with reflection. This way I was able to get my headers into the message. The problem is only that in Pipeline.process() the exchange is copied to a new exchange before the next step and the headers are then again wrapped in a case insensitive map.

Re: Problem with headers of DefaultMessage being case insensitive

2010-02-03 Thread Christian Schneider
Hi Claus, I don“t think this will work. DefaultMessage.setHeaders looks like below. So the map I set will again be wrapped in a case insensitive map. Any other idea or should it still work? Greetings Christian --- public void setHeaders(Map headers) { if (headers instanceof CaseInsen

Re: Problem with headers of DefaultMessage being case insensitive

2010-02-03 Thread Claus Ibsen
On Wed, Feb 3, 2010 at 11:53 AM, Schneider Christian wrote: > Hi all, > > we are using camel and cxf to do SOAP/JMS. The other side is sometimes a > Tibco Business Works system. The problem there is that they use a non > standard header for SOAPAction. In Business works they expect it to be > spel

Problem with headers of DefaultMessage being case insensitive

2010-02-03 Thread Schneider Christian
Hi all, we are using camel and cxf to do SOAP/JMS. The other side is sometimes a Tibco Business Works system. The problem there is that they use a non standard header for SOAPAction. In Business works they expect it to be spelled SoapAction. To work around this I have written an interceptor for