ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to put a message to queue using BIND_ON_OPEN in WMB?

Post new topic  Reply to topic
 How to put a message to queue using BIND_ON_OPEN in WMB? « View previous topic :: View next topic » 
Author Message
GregG
PostPosted: Tue Jul 05, 2011 8:17 pm    Post subject: How to put a message to queue using BIND_ON_OPEN in WMB? Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 06, 2011 12:08 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
GregG
PostPosted: Wed Jul 06, 2011 7:12 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Wed Jul 06, 2011 7:17 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

GregG wrote:
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?


Here is a link to an excellent resource that will answer your question:

http://www-304.ibm.com/jct03001c/services/learning/ites.wss/au/en?pageType=course_description&includeNotScheduled=y&courseCode=VM663AU
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
skoobee
PostPosted: Wed Jul 06, 2011 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message
GregG
PostPosted: Wed Jul 06, 2011 7:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to put a message to queue using BIND_ON_OPEN in WMB?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.