Broker Camel component throws an error "java.lang.IllegalStateException: Not the original message from the broker Message"
Issue
I have a simple camel route using broker camel component:
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route id="brokerCamelTest">
<from uri="file:data/input" />
<convertBodyTo type="java.lang.String" />
<to uri="broker:queue:output" />
</route>
</camelContext>
When I tried to copy a file contains a simple string "this is a test" over to "data/input" folder, I was getting following error from Camel:
java.lang.IllegalStateException: Not the original message from the broker Message: this is a test
Environment
- JBoss Fuse 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.