Camel route received exchange body as null, while consuming file from JMS.
Issue
- How to receive or interpret a file from
JMS, UsingCamel? - In the apache camel documentation, it said that if a
Fileis send a to aJMS queue, Camel convert the file into aByteMessage, and the consumer will expect abyte[]data type to start its route. It's that correct? - When performed testing, expecting
byte[]data type from theconsumerroute instead a file, and theexchangebody comes null.
Environment
- Red Hat JBoss Fuse Service Works
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
