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
File
is 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 theconsumer
route instead a file, and theexchange
body 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, tools, and much more.