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 » putting messages to a remote queue

Post new topic  Reply to topic
 putting messages to a remote queue « View previous topic :: View next topic » 
Author Message
Vin
PostPosted: Thu Sep 25, 2003 7:22 am    Post subject: putting messages to a remote queue Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

Can I put messages on a remote queue directly using some MQ utility? I tried this and it gave me an error, is there a way to do this? Thanks
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Sep 25, 2003 8:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Yes:

You can. You will have to client connect to the machine where the QMGR is running.
You have to set MQEnvironment

There is a sample MQClientPut in this thread
http://www.mqseries.net/phpBB2/viewtopic.php?t=7984&highlight=mqclientput

If you are looking for a GUI kind of utility use MQ Visual Edit. Maybe there are other tools too.

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vin
PostPosted: Thu Sep 25, 2003 7:23 pm    Post subject: Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

thanks for the reply but I'm using JMS to put a message on the remote queue and the QueueManager is local to my machine. We are using Intercommunication to pass messages between two QueueManagers and I wanted to test whether the connectivity is okay or not by putting a sample message on the remote queue. Is there a utility like amqsput which will allow me to do this?
Back to top
View user's profile Send private message
Vin
PostPosted: Thu Sep 25, 2003 9:23 pm    Post subject: Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

Just wanted to get some things clear

Do I have to be a client to put a message to a remote queue although the QueueManager is on my local machine? also do I need to set the environment variable MQSERVER for client connections and putting the messages to a remote queue? Please clarify
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 26, 2003 5:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Vin wrote:
Just wanted to get some things clear

Do I have to be a client to put a message to a remote queue although the QueueManager is on my local machine? also do I need to set the environment variable MQSERVER for client connections and putting the messages to a remote queue? Please clarify


You don't do anything special to put a message to a Remote Definition of a Queue on your Local Queue Manager. It pretends to be a local queue (and the data gets put on the transmission queue).

If the queue you want to put a message on is not in a cluster and there is not a remote definition of that queue on your local queue manager (or a couple of other things) THEN you have to make a client connection to the remote queue manager that hosts that local queue, and put your message.
_________________
I am *not* the model of the modern major general.
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 » putting messages to a remote queue
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.