What is the syntax in Apache simple language to specify multiple values in setHeader

Solution Unverified - Updated -

Issue

  • In Camel route, I would like to set multiple values of Content-Type in header.
<setHeader headerName="Content-Type">
<simple>application/xml text/plain</simple>
</setHeader>

What is the syntax in simple language to specify multiple values?

Environment

  • Red Hat JBoss Fuse
    • 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content