Author |
Message
|
rajmq |
Posted: Wed Jun 24, 2009 2:23 am Post subject: WMQ7- Pub/Sub |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
All,
Trying to test WMQV7 pub/sub functionalities. I have created topic/subscription etc using MQEx but I am not quite sure how to publish a message?
In Broker, normally we use the flow or rfhutil to publish a message.
Share thoughts if anyone tested this
 _________________ IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0 |
|
Back to top |
|
 |
Pavan Kumar PNV |
Posted: Wed Jun 24, 2009 3:00 am Post subject: |
|
|
 Acolyte
Joined: 03 Feb 2007 Posts: 66
|
You could simply right click on the topic and then publish a test message _________________ _____________
Pavan Pendyala
http://pavanz.blogspot.com |
|
Back to top |
|
 |
rajmq |
Posted: Wed Jun 24, 2009 3:09 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
I am talking about the real time scenario’s not sample test window?
 _________________ IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0 |
|
Back to top |
|
 |
MQEnthu |
Posted: Wed Jun 24, 2009 3:10 am Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
|
Back to top |
|
 |
rajmq |
Posted: Wed Jun 24, 2009 3:24 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
thanx a lot, i got java sample proram.
 _________________ IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0 |
|
Back to top |
|
 |
rajmq |
Posted: Wed Jun 24, 2009 10:26 pm Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
It is working but I would like to test it in the different manner,
Subscription the topic for a specific queue and Publish a message to same topic so that we can receive the message in the queue.
 _________________ IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0 |
|
Back to top |
|
 |
MQEnthu |
Posted: Wed Jun 24, 2009 11:11 pm Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
Read about subscriber queue in the info center... _________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
rajmq |
Posted: Thu Jun 25, 2009 12:23 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Ok, I tried the subscription queue logic using PSC commands (it is similar to broker setup) and topic is registered with specified queue in the subscription menu.
Also I have noticed the entries only in the subscription menu and not in the topic menu.
1. Why there are two items topics/subscription & what is the different?
2. Why there is no option to register a topic against specific queue using GUI MQExplorer?
Using a rfhutil I have published a message and it is reached to right location.
Real time scenerio, we can’t use the rfhutil for publishing a message.
In broker we deploy the static message flow with custom queue (not system.default.stream.queue) that will take care the publish part.
What is the procedure to publish a message in the MQ7 pub/sub engine?
TIA
 _________________ IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0 |
|
Back to top |
|
 |
rajmq |
Posted: Thu Jun 25, 2009 1:06 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Further, I tried with sample java program, put method has capability to write the message in the specified topic. syntax is
MQQueueManager queueManager = xxx
queueManager. put(destinationType, topicObject, messageForPut);
But l couldn't able to understand other part
1.If you use the rfhutil for subscription, topic showing only in the subscription menu and not in the topic menu. why ?
2.Why there are two items topics/subscription & what is the different?
3.Why there is no option to register a topic against specific queue using GUI MQExplorer?
TIA
 _________________ IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0 |
|
Back to top |
|
 |
|