Hello,

I am trying to remove headers like this:

.removeHeaders("\\w+Accept\\w+", "\\w+Authorization\\w+", "\\w+Camel\\w+",
"\\w+Host\\w+", "\\w+Origin\\w+", "\\w+Postman\\w+", "\\w+Connection\\w+",
"\\w+Content-Length\\w+", "\\w+Content-Type\\w+", "\\w+VALID_SIP2\\w+" ,
"\\w+SIP2_MESSAGE_RABBITMQ_ROUTING_KEY\\w+")

However after I print the log all the headers are still there. I have also
tried with .* on both ends but that didn't work either. I tried with single
* at the end and same result there. Is there any other way to remove
headers?

Best
Souciance




--
View this message in context: 
http://camel.465427.n5.nabble.com/Removing-headers-tp5793667.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to