Author |
Message
|
jaykarthi |
Posted: Wed Dec 28, 2005 11:31 pm Post subject: Webshpere MQ |
|
|
Newbie
Joined: 28 Dec 2005 Posts: 6 Location: Chennai, India.
|
I am pretty new to Websphere MQ. I have some basic questions, please clarify me.
1. I have tried to accomplish point-to-point messaging using MQ6 by creating remote and transmission Queues with sender channel in one queue manager and local Queue with Reciever channel in another queue manager and its working fine when I try to send messages from sender to receiver. In the same way, is it possible to create and test publish/subscribe messaging within Websphere MQ(ver 6) alone without any other applications? If it is so, then let me know the way of achieving it.
2. Is it possible to accomplish publish/subscribe messaging using clusters? _________________ HI from KARTHIK. |
|
Back to top |
|
 |
mqtypo |
Posted: Thu Dec 29, 2005 1:58 am Post subject: |
|
|
Newbie
Joined: 07 Nov 2005 Posts: 5
|
1. No. The broker in base WMQ is quite complicated to use. Please see the pubsub manual, formerly known as MA0C, the support pack number.
2. No. Pubsub cannot put to clustered queues. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Dec 29, 2005 4:09 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Um. I think you can subscribe qremotes and qclusters. And you could expose SYSTEM.BROKER.COMMAND.QUEUE to a cluster, as well.
Also, in v6 it is very easy to start the Pub/Sub broker. It is a little more complicated to test, but then again there is a supplied set of samples. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jaykarthi |
Posted: Thu Dec 29, 2005 4:38 am Post subject: RE: Websphere MQ |
|
|
Newbie
Joined: 28 Dec 2005 Posts: 6 Location: Chennai, India.
|
Hi jefflowrey,
Thanks for the reply. It would be much pleasing if you could explain me in brief on how to go about doing them? I have with me the publish/subscribe user guide and programming guides, but they talk about QMI and AMI interfaces which I think could be utilised for external applications(if I am not wrong). Can you suggest any books which could benefit me for my foresaid purpose? _________________ HI from KARTHIK. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Dec 29, 2005 5:00 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
When you create a new queue manager in v6, it automatically defines an inactive Service for the broker. You can go to Qmgr->Advanced->Services in MQExplorer and see the inactive broker service. Then you can change the Service Control property of this service to enable the broker at startup - or manually start it yourself.
This will very quickly and easily enable the broker.
Then you can use the Using Pub/Sub guide for how to write your MQ Applications to be publishers or subscribers.
You can read the Queue Manager Clusters guide for how to create MQ clusters, and see how to expose a single broker in the cluster. You can see the Using Pub/Sub guide for how to create a network of brokers - which is different and somewhat complementary.
You should definitely read the Application Programming Guide to get an idea about how MQ programming is done - since Pub/Sub ends up being a type of MQ Programming (unless you're using JMS). _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jaykarthi |
Posted: Thu Dec 29, 2005 11:04 pm Post subject: |
|
|
Newbie
Joined: 28 Dec 2005 Posts: 6 Location: Chennai, India.
|
Hi jefflowrey,
Thank you so much for the reply. I will go through the mentioned documents and get back to you if I have any problem. _________________ HI from KARTHIK. |
|
Back to top |
|
 |
|