Author |
Message
|
sid008 |
Posted: Tue Nov 13, 2012 9:14 am Post subject: Channel and related queues |
|
|
Newbie
Joined: 13 Nov 2012 Posts: 6
|
Hey guys
Complete newbie to MQ I am looking at various queues and channels I have setup on Linux. What I am trying to understand is the relation between say a queue and a channel. Is there a command that would tell me which particular queue uses which channel ? or am I talking complete nonsense. I know the theory of it all just need to be able to visually see it.
Thanks.
p.s. glad I found this forum lots of useful information to be found. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Nov 13, 2012 9:30 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Tue Nov 13, 2012 9:51 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The only queue that has any relationship to a channel is the channel's transmission queue. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Nov 13, 2012 10:09 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Although any queue on a particualr QM could be opened (for puts) by any channel on that same QM, if the security is set up to allow that particualr channel to access that particular queue. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
sid008 |
Posted: Tue Nov 13, 2012 12:20 pm Post subject: |
|
|
Newbie
Joined: 13 Nov 2012 Posts: 6
|
@ lancelotlinc - thanks for the link, very useful.
Just to add to why I asked the question ...
I have today a Qmgr that has a channel defined, a local and a remote queue and an xmit queue. I receive messages and send responses and this works fine.
I have now added two additional queues, idea being I will use the existing channels and xmit to receive and send messages of different xml payloads.
Mars client puts a message on the queue, Jupiter client expects to read that message is (Mars and Jupiter being two end points). Confusion I had was he message Mars sent I couldnt see it arriving on Jupiters queue and I wanted to somehow check which queues were tied to which channels. I understand now that all remote queues (from Jupiters perspective) are using the same xmit ...
... oh well it is not proving to be a lot of fun at this point, I will keep experimenting.
Thanks.[/quote] |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 14, 2012 12:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
To see a message put on a queue at mars arrive on a queue at jupiter, you will need to define the queue at mars as remote and give it the xmitq to jupiter... and define it at jupiter as local...
I suggest you read the intercommunications manual one more time...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|