Adding a Custom HTTP Header to a Camel Restlet Producer

I was writing a route today to a internal REST service that required a custom header in the HTTP GET request. The solution wasn’t immediately obvious and I spent way too much time figuring it out. Fairly simple to do though far from concise.


Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Comments on this entry are closed.

  • tjsnell

    custom header test