Author |
Message
|
rfhenriques |
Posted: Wed Jan 28, 2009 2:26 pm Post subject: Two sender channels |
|
|
Newbie
Joined: 28 Jan 2009 Posts: 2
|
can i define two sender channels from a queue manager to differente queue managers in the same port over TCP? How? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 28, 2009 2:57 pm Post subject: Re: Two sender channels |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rfhenriques wrote: |
can i define two sender channels from a queue manager to differente queue managers in the same port over TCP? |
Yes
Give them 2 different names but the same connection details. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ranganathan |
Posted: Wed Jan 28, 2009 11:29 pm Post subject: |
|
|
 Centurion
Joined: 03 Jul 2008 Posts: 104
|
Since the CONNAME attribute of the SDR channel is either the hostname or the network address of the remote machine, it is possible to define multiple senders from your QM to other QMs (provided the definitions are compatible on the other end). Check the infocenter for more details about sender channel definitions. |
|
Back to top |
|
 |
rfhenriques |
Posted: Thu Jan 29, 2009 2:56 am Post subject: |
|
|
Newbie
Joined: 28 Jan 2009 Posts: 2
|
I define 2 channels, type "sender" for 2 different IP' s in the same port (1414). But only one stay "started". Why?.... |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jan 29, 2009 3:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rfhenriques wrote: |
I define 2 channels, type "sender" for 2 different IP' s in the same port (1414). But only one stay "started". Why?.... |
Don't ask us - what does the log give as a reason?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
vandi |
Posted: Thu Jan 29, 2009 6:21 am Post subject: |
|
|
Acolyte
Joined: 13 Dec 2008 Posts: 67
|
Hi,
Let suppose you have three QMgrs QM1(1414), QM2(1415),QM3(1416).
From QM1 you want to establish two SDR channels. You can the definitions like the below.
DEF CHANNEL(QM1.to.QM2) CHLTYPE(SDR) TRPTYPE('TCP') XMITQ(QM2) CONNAME('HOST1'(1415))
DEF CHANNEL(QM1.TO.QM3) CHLTPE(SDR) TRPTYPE('TCP') XMITQ(QM3)
CONNAME('HOST2'(1416)) |
|
Back to top |
|
 |
|