How can I send persistent messages with the Camel Producer Template?
Issue
I am sending messages to an ActiveMQ queue with the producer template as follows, however when I restart the broker my messages are gone.
producer.sendBody("Hello World");
How can I send persistent messages with the Camel Producer Template?
Environment
- JBoss Fuse 6.2.1
- Camel 2.15.1.redhat-621084
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.
