|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to put a message to queue using BIND_ON_OPEN in WMB? |
« View previous topic :: View next topic » |
Author |
Message
|
GregG |
Posted: Tue Jul 05, 2011 8:17 pm Post subject: How to put a message to queue using BIND_ON_OPEN in WMB? |
|
|
Novice
Joined: 31 Jul 2006 Posts: 18
|
In the WBM Toolkit documentation, for the MQOutput node, it states the following:
For message flow output queues:
* WebSphere Message Broker always specifies MQOO_BIND_AS_Q_DEF when it opens a queue for output. If you expect segmented messages to be put to an output queue, or want a series of messages to be handled by the same process, you must specify DEFBIND(OPEN) when you define that queue. This option ensures that all segments of a single message, or all messages within a sequence, are put to the same target queue and are processed by the same instance of the receiving application.
* If you create your own output nodes, specify MQOO_BIND_AS_Q_DEF when you open the output queue, and DEFBIND(OPEN) when you define the queue, if you need to ensure message order, or to ensure a single target for segmented messages.
In the MQ Information Center, there is some other documentation that states:
MQOPEN
An option on the MQOPEN call, the MQOO_BIND_ON_OPEN option, allows you to specify that, when there are multiple instances of the same queue within a cluster, the target queue manager needs to be fixed. That is, all messages put to the queue specifying the object handle returned from the MQOPEN call must be directed to the same queue manager using the same route.
Can someone tell me why there is no option in the WMB to have the broker open the queue with BIND_ON_OPEN? I have searched for different posts and I do not see any simple way of doing this within the message flow in WMB. It seems it would be nice to have this as an option on the MQOutput node.
We use a message gateway to send segmented messages to external queues and the message arrive out of sequence and I do not have the ability to change the bind attribute on the queue. I am not 100 percent convinced that it would ensure the messages will be delivered in sequence if we did some custom node to do this, since I do not know the complete path thru our gateway.
Looking for some feedback to this issue from anyone that may have had some similar issue.
Thanks. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jul 06, 2011 12:08 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you looked at how to override open options for the MQOutput node?
It's all in the documentation of the node.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
GregG |
Posted: Wed Jul 06, 2011 7:12 am Post subject: |
|
|
Novice
Joined: 31 Jul 2006 Posts: 18
|
I have looked at the documentation for this node. I do not see any reference to overrride the open options. Can you give me a link if there is one? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jul 06, 2011 7:17 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
skoobee |
Posted: Wed Jul 06, 2011 7:18 am Post subject: |
|
|
Acolyte
Joined: 26 Nov 2010 Posts: 52
|
[quote]We use a message gateway to send segmented messages to external queues [/quote]
Are you doing your own segmentation? If you get the qmgr to do it, all the segments of a single msg are sent to the same cluster destination. |
|
Back to top |
|
 |
GregG |
Posted: Wed Jul 06, 2011 7:44 am Post subject: |
|
|
Novice
Joined: 31 Jul 2006 Posts: 18
|
Yes.. we are doing our own segmentation, using compute node to split and propagate a large message into several smaller ones. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|