*
The moose likes EJB and other Java EE Technologies and the fly likes error while connecting to queue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "error while connecting to queue" Watch "error while connecting to queue" New topic
Author

error while connecting to queue

loganathan kumar
Greenhorn

Joined: Sep 22, 2008
Posts: 6
Actually when i try to connect to MQQueue it shows invalid destination exception.when i printed the queuename it prints as queue:///queuename.


could anyone help me in solving this error?
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi there,

Can you post some extra information about your configuration etc? We need More details


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
loganathan kumar
Greenhorn

Joined: Sep 22, 2008
Posts: 6
I have created a queue named abc. I have sent message to the queue abc. In another program i tried to recieve the message from the queue name abc. But it shows Invalid destination. when i print the name of the queue, it shows queue:\\\abc.
Kindly give me a solution.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

How are you referencing that abc queue in your receiving program? Can you post the code for this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error while connecting to queue
 
Similar Threads
New To JMS
Unable to look up JNDI name for JMS connection factory from one weblogic server to o
Queue Connection
Read the JMS Queue subscriber count
JBoss - JMS Queue