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 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.