com.sun.messaging.ConnectionFactory to javax.jms.ConnectionFactory
807574Mar 5 2008 — edited Feb 11 2020Here is my scenario:
ENS - IMQPlugin (Message Queue 3.5)
Hi, I would like to know how is possible convert this instruction in javax.jms standard and execute it from a simple client (main):
com.sun.messaging.ConnectionFactory myFactory = new com.sun.messaging.ConnectionFactory();
myFactory.setProperty(ConnectionConfiguration.imqAddressList,"myIp:myPort");
myFactory.setProperty(ConnectionConfiguration.imqReconnectEnabled, "true");
javax.jms.Connection myConnection = myFactory.createConnection("myUser", "myPwd");
I tried in 1000000 ways, but I can't find any clues...
Suggestions? Help?
Thanks in advance