How can I set a new Camel header value using the value of an existing header?

Solution Unverified - Updated -

Issue

How can I set a new header value using the value of an existing header?

Is it possible to copy a header value into a new header?

How can I save an existing header value in case a processor changes it?

Environment

  • Apache Camel 1.x - 2.x
  • Fuse Mediation Router 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.