It's not a secret anymore!
The moose likes EJB and other Java EE Technologies and the fly likes Configure/Access remote Message Queue (Sun's Open MQ) on Nework Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Configure/Access remote Message Queue (Sun Watch "Configure/Access remote Message Queue (Sun New topic
Author

Configure/Access remote Message Queue (Sun's Open MQ) on Nework

Arpit Purohit
Greenhorn

Joined: Jan 09, 2007
Posts: 21
Hi,
I am new to JMS and Message Queue. I have installed Sun's Open Message Queue on my system.I have created ObjectStore and Destination(Queue) and using java program to insert and fetch messages.
Following are the details:
1. Created ObjectStore MyObjectStore with following properties:-
  • java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
  • java.naming.provider.url=file:///c:/tmp

  • 2. Created ConnectionFactory MyConnectionFactory and Destination MyQueue

    3. Code to access above queue:


    My problem is that I am able to access Message Queue on local machine only. I don't know how i can configure my MQ to be accessed on network or/and how to look up for MQ which is on remote machine in network.
    Can anybody help me on this.


    Regards,
    Arpit Purohit
    Arpit Purohit
    Greenhorn

    Joined: Jan 09, 2007
    Posts: 21
    Got the solution to the problem here: Sun Forum
     
    I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
     
    subject: Configure/Access remote Message Queue (Sun's Open MQ) on Nework
     
    Similar Threads
    Standalone JMS Client problem hetting the connection - Please Advice
    JMS Question
    WebSphere MQ JMS Question
    Error using JNDI in JMS Queue lookup
    Doubts regarding JMS in Jboss