Project: talendesb
Issue TESB-3801: One connection factory is generated per cJMS component
Same applies for cActiveMQ components - but I assume we get rid of these anyway. When multiple cJMS components are used in a route, the generated code defines a connection factory instance and component definition for each od these cJMSs. This is almost always wrong. In most cases all cJMS components in a route will use the same component (same alias, e.g. "jms"). There are a few cases, for instance when a route should bridge between different messaging systems, more than one JMS component would need to be generated, like one for "amq" and a second one for "wmq". JMS connections should be treated like DB connections in service builder. JMS component aliases should be definable in one place and then selectable in each cJMS instance.
Story points: 3