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 » CollectorNode - Can I set the Quantity property dynamically?

Post new topic  Reply to topic
 CollectorNode - Can I set the Quantity property dynamically? « View previous topic :: View next topic » 
Author Message
dyson
PostPosted: Thu Dec 22, 2011 1:22 pm    Post subject: CollectorNode - Can I set the Quantity property dynamically? Reply with quote

Apprentice

Joined: 04 Apr 2011
Posts: 45

I'm trying to collect a random number of messages and was looking for a way to contol when the message collection would be completed. I guess what I'm asking is if there's a way to flush the a specific queue holding a specific collection e.g. if all messages for order 123 were flagged as completed based on an end of order message can I then force the specific "order 123" collection to propogate?

thanks,
Scott
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Dec 22, 2011 2:15 pm    Post subject: Reply with quote

Jedi Knight

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

Yes, by using MQMD.GroupId.
_________________
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
dyson
PostPosted: Thu Dec 22, 2011 2:25 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Apr 2011
Posts: 45

Great ... I'm a newbie can you give a code hint?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Dec 22, 2011 2:32 pm    Post subject: Reply with quote

Jedi Knight

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

Have you attended the WM663 class?
_________________
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
dyson
PostPosted: Thu Dec 22, 2011 2:35 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Apr 2011
Posts: 45

No I'm picking this up as I go.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Dec 22, 2011 3:01 pm    Post subject: Reply with quote

Jedi Knight

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

You'll not be as successful that way. The members of this forum are fairly busy. If you have taken the class, you are more apt to get help here.
_________________
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
dyson
PostPosted: Thu Dec 22, 2011 3:18 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Apr 2011
Posts: 45

understood thanks anyways ...
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 22, 2011 3:47 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

dyson wrote:
Great ... I'm a newbie can you give a code hint?


You don't want an end of order message, you need an end of group message.

The "problem" is that this will need to be set at the sending end. You can then get broker to read the group & propagate it on completion.

Look up grouping in the WMQ documentation, then look up the group options on the MQInput node.

And get some training. Neither WMQ nor WMB are easy products to "pick up as you go along". It will make it a long, hard road for you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dyson
PostPosted: Thu Dec 22, 2011 3:57 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Apr 2011
Posts: 45

Appricate the feedback but having the sending end set the MQMD.MsgFlags = MQMF_LAST_MSG_IN_GROUP isn't an option. That's cool I can figure it out via the javacompute node. Thanks again.
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 » CollectorNode - Can I set the Quantity property dynamically?
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.