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 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.
