Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JMS and MqSeries

Status
Not open for further replies.

Madere

Technical User
Apr 14, 2003
85
GB
Hi all.

I want, if it is possible, to connect to a MqSeries Queue, which is on a remote server, using JMS.

I know there are MqSeries JMS API's but I wont/cant use these. With these JMS API I can send messages to the MqSeries Queue without any problem.
So I have to fall back on pure JMS API's.

I have tried it so far, but no luck. I am getting a JMSException:
"Could not create session, connection may be dropped".

When I connect to a JMS Queue on my local machine with the same portnumber and Queue Name, I have no problems in connecting. I can even send a message.

Only when I try to connect to the remote MqSeries Queue, I get this problem.

I think I get this exception because the MqSeries Queue is NOT JMS, so therefore a session cant be build.

So therefore I am looking for another way to connect to the MqSeries Queue's using JMS (if there is a way) or for the correct JMS implementation.

Any help is welcome. No questions please about why not using the MqSeries JMS API, it is simple not possible to use them.

 
From Windows XP (Simple Java Client programm) to AIX (MqSeries Server).

It looks like I need to find out what my lookup for my QueueConnectionFactory should be. So anyone an idea for the jndi.lookup for MqSeries?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top