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 Discussion » What happens when two SDR channels reference the same XMITQ?

Post new topic  Reply to topic
 What happens when two SDR channels reference the same XMITQ? « View previous topic :: View next topic » 
Author Message
MQCONN
PostPosted: Wed Oct 30, 2013 3:46 pm    Post subject: What happens when two SDR channels reference the same XMITQ? Reply with quote

Newbie

Joined: 09 Oct 2013
Posts: 5

What happens when two SDR channels reference the same XMITQ?

DEFINE NOREPLACE
QLOCAL('XMITQ01')
QSGDISP(QMGR)
STGCLASS('REMOTE')
CFSTRUCT(' ')
CLUSTER(' ')
CLUSNL(' ')
DESCR('Transmit Queue')
PUT(ENABLED)
DEFPRTY(0)
DEFPSIST(YES)
MAXDEPTH(999999)
PROCESS(' ')
TRIGGER
MAXMSGL(4194304)
BOTHRESH(0)
BOQNAME(' ')
INITQ('SYSTEM.CHANNEL.INITQ')
USAGE(XMITQ)
NOSHARE
DEFSOPT(EXCL)
MSGDLVSQ(PRIORITY)
RETINTVL(999999999)
TRIGTYPE(FIRST)
TRIGDPTH(1)
TRIGMPRI(0)
TRIGDATA('MQ01.MQ02.00')

DEFINE NOREPLACE
CHANNEL('MQ01.MQ02.00')
CHLTYPE(SDR)
QSGDISP(QMGR)
XMITQ('XMITQ01')
DEFCDISP(PRIVATE)
TRPTYPE(TCP)
CONNAME('123.456.781.234(1234)')
DESCR('Sender Channel 1')

DEFINE NOREPLACE
CHANNEL('MQ01.SDRCHAN2.00')
CHLTYPE(SDR)
QSGDISP(QMGR)
XMITQ('XMITQ01')
DEFCDISP(PRIVATE)
TRPTYPE(TCP)
CONNAME('234.567.812.345(2345)')
DESCR('Sender Channel 2')
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Oct 30, 2013 4:10 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Only one of the SDR channels will successfully start. Why? Because the message channel agent MQOPENs the xmitq MQOO_INPUT_EXCLUSIVE. Subsequent attempts to start the other channel will fail.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » General Discussion » What happens when two SDR channels reference the same XMITQ?
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.