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 » General IBM MQ Support » Requester/Server Configuration

Post new topic  Reply to topic
 Requester/Server Configuration « View previous topic :: View next topic » 
Author Message
mquser925
PostPosted: Thu Jul 10, 2008 11:03 pm    Post subject: Requester/Server Configuration Reply with quote

Acolyte

Joined: 22 Apr 2008
Posts: 61

Code:

QM=REQUESTER
crtmqm $QM
strmqm $QM
runmqsc $QM << EOF
  DEFINE QLOCAL (TEST) DEFPSIST(YES) REPLACE
  DEFINE CHANNEL ('$QM.REQ') CHLTYPE(RQSTR) TRPTYPE(TCP) CONNAME(xx.xx(1414)') REPLACE
  DEFINE LISTENER ($QM.LISTENER) TRPTYPE(TCP) CONTROL(QMGR) PORT(1414) REPLACE
  START LISTENER($QM.LISTENER)
  START CHANNEL($QM.REQ)
EOF


Code:

#mq script
QM=SERVER
crtmqm $QM
strmqm $QM
runmqsc $QM << EOF
  DEFINE QLOCAL(TO.REQ) USAGE(XMITQ) REPLACE
  DEFINE CHANNEL ('$QM.SVR') CHLTYPE(SVR) TRPTYPE(TCP) CONNAME('xx.xx(1414)') XMITQ(TO.REQ) REPLACE
  DEFINE LISTENER ($QM.LISTENER) TRPTYPE(TCP) CONTROL(QMGR) PORT(1414) REPLACE
  START LISTENER($QM.LISTENER)
  START CHANNEL($QM.SVR)
EOF


Code:

  DEFINE QREMOTE(TEST) RNAME(TEST) RQMNAME(REQREQ) XMITQ(TO.REQ) REPLACE


So my understanding from reading the intercommunication manual is that whenever the requester sends a request to the server, the server will forward any messages to the requester. How do you initiate the requesting process and also do the requester and server need to have the same queue definitions or do you have to define a remote queue on the server to a requester local queue? If I request a message on the local queue on the requester, what happens? The manual does not clearly explain this process at all imo.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 11, 2008 11:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Return to the doc
You are mixing 2 concepts:
a) request/reply messaging pattern as applied to MQ
b) request/server channels

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Requester/Server Configuration
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.