Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

com.sun.messaging.ConnectionFactory to javax.jms.ConnectionFactory

807574Mar 5 2008 — edited Feb 11 2020
Here 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 3 2008
Added on Mar 5 2008
2 comments
227 views