Mmh.. In future there might be a lot of places, so I don't think it's a good
idea (though Camel context is up and running because server gets the
messages, the error happens when it tries to send them). 
I tried to explicitely invoke ProducerTemplate#start() before sending, and
it's the same - it was trying to start for some seconds, after that test
crashed and destroyed the context. And the error was the same:
ProducerTemplate has not been started.
It just might make sense to save a state of the template: NOT_STARTED,
STARTED, STOPPED so that error messages will be more readable and less
misleading.

--
View this message in context: 
http://camel.465427.n5.nabble.com/ProducerTemplate-is-not-started-tp4549701p4552623.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to