Just to be sure, you have spaces around the == operator, right? That is required
And if you log the message before the
Thanks a lot for reply .
I gave the space and added otherwise also ..so now all request goes to otherwise.
The log did not print any thing .. Please let me know if i need to add some thing in wsdl for this.
they use payload and then they get the operation name. I tried changing the format in <camelContext from MESSAGE to PAYLOAD but still does not work.
You should be able to access the operation header when using the PAYLOAD.
Can you check the log after the cxf consumer, if you enable the trace feature of the camel?
<camelContext trace="true" xmlns="http://activemq.apache.org/camel/schema/spring">
Hi, we had the same problem and changing to ognl language solved it.
The route below worked for us:
To use OGNL in your camel routes you have to install camel-ognl feature.
Hope it helps.