Camel: How to retrieve the original JMS message from a Camel Exchange

Solution Verified - Updated -

Issue

  • camel-jms component consumes message and it automatically maps it to org.apache.camel.Message but some component/processor within the route may need the original javax.jms.Message type.

Environment

  • Fuse MR 2.9.0.fuse-70-097/ Fuse ESB 7.0

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.