Author |
Message
|
kash3338 |
Posted: Sun Apr 22, 2012 6:40 pm Post subject: MQ Channels |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
HI, I have two Queue Managers A and B and I need to exchange data between them. Can I have two Sender Channels from A to B ad one receiver channel at B? Is this possible? If possible, how do I know which channel is being used for transmitting the data? |
|
Back to top |
|
 |
exerk |
Posted: Mon Apr 23, 2012 12:04 am Post subject: Re: MQ Channels |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
kash3338 wrote: |
...Can I have two Sender Channels from A to B ad one receiver channel at B? Is this possible?... |
Yes, it's possible (think of how multiple CLUSSDR and single CLUSRCVR channels work).
kash3338 wrote: |
...If possible, how do I know which channel is being used for transmitting the data? |
Channel status will tell you.
The major question is, why do you want to do this? If you want quality of service, e.g. large messages going down one channel, small messages going down another, you still wouldn't use a single RCVR, so again, what is the requirement? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Apr 23, 2012 3:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
While you can have two SENDER channels that point to the same receiver, you can't have two SENDER channels that point to the same XMITQ.
So it's the XMITQ that tells you how the traffic is moving, not the channel status. |
|
Back to top |
|
 |
exerk |
Posted: Mon Apr 23, 2012 4:00 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
mqjeff wrote: |
So it's the XMITQ that tells you how the traffic is moving, not the channel status. |
Muy bad...I made the assumption that the OP would know to check each XMITQ. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Apr 23, 2012 4:03 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
exerk wrote: |
mqjeff wrote: |
So it's the XMITQ that tells you how the traffic is moving, not the channel status. |
Muy bad...I made the assumption that the OP would know to check each XMITQ. |
If kash3338 knew enough to know that, then it's hard for me to understand how kash3338 would need to ask the question asked. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 23, 2012 4:40 am Post subject: Re: MQ Channels |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kash3338 wrote: |
Can I have two Sender Channels from A to B ad one receiver channel at B? |
Yes. Unless there are 2 network routes between the 2 boxes it's at best pointless and at worst will degrade performance.
kash3338 wrote: |
how do I know which channel is being used for transmitting the data? |
It'll be the one you've configured for a given scenario. If you don't understand what I mean you shouldn't be doing this. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|