ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Obtaining connection to MQ through JMS

Post new topic  Reply to topic
 Obtaining connection to MQ through JMS « View previous topic :: View next topic » 
Author Message
Vin
PostPosted: Tue Mar 26, 2002 7:37 pm    Post subject: Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

All JMS Gurus,
I'm trying to use JMS to connect to MQ and get messages from a remote Queue (local to an other QManager). Can anyone tell me how to obtain the connection to MQ and how to get the messages from the Queue? any help is greatly appreciated. Thanks.

Vin
Back to top
View user's profile Send private message
kolban
PostPosted: Tue Mar 26, 2002 8:46 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

Real simple, you can only get messages from local queues attached to the queue manager to which you are connected. You simply can't get messages from a remote queue manager unless you are connected to that queue manager as a client.
Back to top
View user's profile Send private message
Vin
PostPosted: Tue Mar 26, 2002 9:30 pm    Post subject: Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

Thanks very much. Have an other question though. Do I need to install MQClient with my MQSeries Server? How do I get the messages using MQClient. Do you have any code samples or can you direct me to some. The application has to get messages from a remote Queue and process them locally. The environment is Solaris. Thanks again.
Back to top
View user's profile Send private message
abmanesh
PostPosted: Wed Mar 27, 2002 6:22 am    Post subject: Reply with quote

Apprentice

Joined: 06 Nov 2001
Posts: 39

Refer to Chapter 8 in the redpiece 'Programming Patterns with MQSeries' . You could find the book at http://www.redbooks.ibm.com/redpieces/pdfs/sg246506.pdf
Back to top
View user's profile Send private message Send e-mail
Vin
PostPosted: Wed Mar 27, 2002 12:35 pm    Post subject: Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

Thanks, that helps. Since I'm doing remote Queue operations, I need to use the MQSeries Intercommunication right? Also where can I get the MQCommands for creating the QueueManager, channels and Queues with various attributes (Depth, Type etc.) Is there a Redbook available or is it somewhere on the web? Appreciate your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Obtaining connection to MQ through JMS
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.