camel-jms: testConnectionOnStartup does not test connection for producers
-------------------------------------------------------------------------
Key: CAMEL-3714
URL: https://issues.apache.org/jira/browse/CAMEL-3714
Project: Camel
Issue Type: Bug
Components: camel-jms
Affects Versions: 2.5.0
Reporter: Jim Newsham
Priority: Minor
I have a camel context which configures jms producers, but no jms consumers.
With this configuration, the "testConnectionOnStartup" jms option did not test
the connection when I started the camel context. I have discovered that (with
the current implementation) the "testConnectionOnStartup" option only applies
to consumers. I see that it is implemented in JmsConsumer.doStart() ->
JmsConsumer.testConnectionOnStartup(). It would be useful if this option could
also applied to producers.
As a workaround, I configured a dummy route and a dummy jms consumer.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira