Camel: <setBody><property> is not supported after Camel 2.10

Solution Verified - Updated -

Issue

This problem mostly affects customers who are upgrading Fuse Service Works applications that use Camel routes, to Fuse 6.2.1 or 6.3 on EAP. Fuse Service Works provides Camel 2.10, which supports a method of setting a body from an exchange property like this:

<setBody><property>some_property</property></setBody>

This notation is not valid in later versions of Camel.

Environment

  • Red Hat JBoss Fuse
    • 6.2
    • 6.3

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.