Usually we use spring to set up the camel jms component before using, but I
wanted to know if it is possible to reference any bean in the camel registry by
name for the connectionFactory.
For example, let's say that I have the jms connection factory exposed as an
osgi service in my container. Thanks to camel, I can actually search the osgi
service registry with my camel registry by just asking for any bean with name
"javax.jms.ConnectionFactory". That will return the first JMS Connection
Factory as a bean from teh camel/osgi registry. Is there anyway in the
camel-jms component to do something where I can refer to that connection
factory instead of writing up a spring configuration to do the same?
Something like:
from("jms:topic:heartBeatWithCounts?connectionFactory=javax.jms.ConnectionFactory")
Roshan