Author |
Message
|
mahek |
Posted: Mon Jun 30, 2008 7:53 am Post subject: MQCLIENT |
|
|
Voyager
Joined: 10 Sep 2004 Posts: 87
|
Hi All
I have requirement in which i have have to send messages to a Queue( on BOX A(operating system WINDOWS ) just having MQCLIENT) from box B (OPERATING SYSTEM AIX)having the queue manager.Applications will be sending messages to this queue manager and they have to be routed to the queue(on box A having JUST MQCLIENT)
Can we send messages to this queue(just having mq client) from another queue manager.
If we can do that do we have to consider any additional things.
Thanks in advance |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 30, 2008 7:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If you have no qmgr on BOX A you cannot have a queue on BOX A. However having a qmgr on box B and an MQ CLIENT on Box A you can:
- attach the client to the qmgr on box B
- access any queue on the attached qmgr (B) you have authorization for
- remember that to retrieve a message you will need the queue to be defined as queue local to the qmgr you are attached to (B)
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
exerk |
Posted: Mon Jun 30, 2008 8:03 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
If I understand your question correctly...
There will be no queue on Box A; the application on Box A will invoke the client, which will attach to the queue manager on Box B (which will contain the queues), and PUT/GET the messages.
And yes, you do have to consider additional things. The Clients and Application Programming Guide manuals will provide detail on those additional things. _________________ 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 |
|
 |
mahek |
Posted: Mon Jun 30, 2008 8:17 am Post subject: |
|
|
Voyager
Joined: 10 Sep 2004 Posts: 87
|
Thanks for the replies fjb_saper,exerk
So we cant create a queue on BOX A(JUST HAVING THE CLIENT) am i right,
so I have to create a local queue on BOX B and tell the applications to send messages to this local queue.and have the application that is running on BOX A to retrive the messages from this local queue.
Thanks in advance |
|
Back to top |
|
 |
mahek |
Posted: Mon Jun 30, 2008 8:18 am Post subject: |
|
|
Voyager
Joined: 10 Sep 2004 Posts: 87
|
WE DOT HAVE A QUEUE MANAGER ON BOX A |
|
Back to top |
|
 |
exerk |
Posted: Mon Jun 30, 2008 1:23 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
mahek wrote: |
Thanks for the replies fjb_saper,exerk
So we cant create a queue on BOX A(JUST HAVING THE CLIENT) am i right,
so I have to create a local queue on BOX B and tell the applications to send messages to this local queue.and have the application that is running on BOX A to retrive the messages from this local queue.
Thanks in advance |
Absolutely correct. Please also read the relevant sections of the manuals I quoted above, and search this board for 'best practice' advice regarding Client; undoubtedly there will be advice that is best followed. _________________ 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 |
|
 |
mahek |
Posted: Tue Jul 01, 2008 8:25 am Post subject: |
|
|
Voyager
Joined: 10 Sep 2004 Posts: 87
|
Thanks exerk for the reply and suggestions |
|
Back to top |
|
 |
|