I imagine this might be a simple question to answer but all of my searching has come up short so far so I thought I would come here and ask for some help. At the moment I am trying to connect a client osgi bundle to the embedded liberty messaging service. The server is set up and configured correctly I believe, because I have no problems connecting to it when I run normal servlets that aren't part of an OSGi bundle. I get an error that looks like the following if I attempt to take that same client code and put it inside of a bundle.
java.lang.ClassCastException: com.ibm.ws.jca.service.ConnectionFactoryService incompatible with javax.jms.TopicConnectionFactory
From what I can tell from my searching, connecting to the TopicConnectionFactory and all that from inside of a OSGi bundle is done using blueprints. Unfortunately i'm not sure how to do that or if that is even correct. If anyone knows or is willing to point me in the right direction I would greatly appreciate it!
Edit: I forgot to mention that I am using the 8.5.5 Liberty Profile. If you need anymore information please let me know.