When I am trying to send multiple messages, I am getting the below error
message.
Exhausted after delivery attempt: 1 caught:
java.lang.IllegalArgumentException: Cannot add a 2nd consumer to the same
endpoint.
Also, please see the attached files for the routes. If I comment out the
line
"template.sendBody("direct:a","second message");" in Main class it works
fine. But I don't want to comment that line. Please help me how to solve
this problem.
http://camel.465427.n5.nabble.com/file/n5541723/files.zip files.zip
Thanks,
Frank
--
View this message in context:
http://camel.465427.n5.nabble.com/Sending-multiple-messages-in-Camel-tp5541723p5541723.html
Sent from the Camel - Users mailing list archive at Nabble.com.