Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Mostly you would use the default component instances. But for messaging components like JMS you may have one for ActiveMQ and another for WMQ etc and therefore multiple instances in the same Camel.
However with SB you can mistakenly configure a new JMS component such as
@Bean
JmsComponent jmsComponent()
And think that "jms" will use it. But it uses the bean id, which is method name by default in SB, so you have 2 JMS components.
Having a LOG at startup to help show this would better spot this problem.