Thanks again for the pointer Yogesh. Groovy worked but it's a little messy :)

I used this in my route:
.setHeader("Authorization").groovy("'Basic ' + (exchange.properties.username
+ ':' + exchange.properties.password).bytes.encodeBase64().toString()")



--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-cxfrs-producer-with-a-dynamic-endpoint-from-a-metadata-file-tp5768224p5768268.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to