How to best create a shared JMS ConnectionFactory that can be used by many different Camel routes, deployed in different OSGi bundles?

Solution Verified - Updated -

Issue

I have many OSGi bundles that all run in the same OSGi container. Many of them need a connection to a JMS broker.
What's the best approach to connect these bundles to the JMS broker via a single JMS pool?

Environment

  • Fuse ESB
  • Fuse ESB Enterprise
  • Fuse MQ Enterprise

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.