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 API Support » Perl remote queue

Post new topic  Reply to topic
 Perl remote queue « View previous topic :: View next topic » 
Author Message
mqjay
PostPosted: Tue Sep 21, 2004 11:10 am    Post subject: Perl remote queue Reply with quote

Newbie

Joined: 06 Aug 2004
Posts: 4

I am trying to respond to a remote queue that is being sent to me in the header of the message that I read from. I don't know how to specify the remote queue manager, however, on the open. Here's what I have: (with this I get a 2085).

my $returnMsgDesc = $::returnUNIXmessage->MsgDesc();
my $ISSQMgr = $returnMsgDesc->{ReplyToQMgr};
my $ISSQName = $returnMsgDesc->{ReplyToQ};

my $homeQMgr = $::qmgr;

#
# open the put queue
#
$::putq = MQSeries::Queue->new
(
QueueManager => $homeQMgr, (this is my local queue manager)
Queue => $ISSQName, (this is the remote queue name)
Options => MQSeries::MQOO_FAIL_IF_QUIESCING |
MQSeries::MQOO_OUTPUT,
) || dieweb "Unable to open queue $ISSQName\n";

print "Put queue $ISSQName is opened\n";
&servlogger::write_to_log( "Put queue $::putq->Queue is opened\n") ;

# Put the message
Back to top
View user's profile Send private message
mqjay
PostPosted: Tue Sep 21, 2004 12:03 pm    Post subject: Reply with quote

Newbie

Joined: 06 Aug 2004
Posts: 4

Never mind -- I added the remote queue name and manager to the object descriptor on the open, and it looks like it's working now.
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 API Support » Perl 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.