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 » Batch process

Post new topic  Reply to topic
 Batch process « View previous topic :: View next topic » 
Author Message
wmqiadmin
PostPosted: Mon Mar 12, 2007 6:11 pm    Post subject: Batch process Reply with quote

Disciple

Joined: 19 Jun 2005
Posts: 163
Location: epping UK

Hi All,

Can we batch process messages on a queue using message flow e.g. say i want to run a message flow for 10 min and turn it off for 30 min or message depth on the queue reaches a certain number.

If yes please let me know how?

Appiricate your help.

thanks
wmqiadmin.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 12, 2007 6:25 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes, you can do this.

You shouldn't, likely, but you certainly can.

What have you tried?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 13, 2007 1:01 am    Post subject: Re: Batch process Reply with quote

Grand High Poobah

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

wmqiadmin wrote:
Can we batch process messages on a queue using message flow e.g. say i want to run a message flow for 10 min and turn it off for 30 min or message depth on the queue reaches a certain number.


What's the business need for this? I struggle to see the requirement.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue Mar 13, 2007 1:59 am    Post subject: Re: Batch process Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

wmqiadmin wrote:


Can we batch process messages on a queue using message flow e.g. say i want to run a message flow for 10 min and turn it off for 30 min or message depth on the queue reaches a certain number.



If you really need this funcionality ...


You can use for this TimeoutNotification and MQGet nodes.

TimeoutNotification you can activate every XX minutes and then do some businnes checking in Compute if this is time to read message from queue or not.

If yes fro mcompute propagate message to MQGet, if not just propagate message to not connected terminal.



Marcin
Back to top
View user's profile Send private message Visit poster's website
wmqiadmin
PostPosted: Tue Mar 13, 2007 10:08 am    Post subject: Reply with quote

Disciple

Joined: 19 Jun 2005
Posts: 163
Location: epping UK

Hi All,

Thanks for your valuable guidelines.

What actually i am trying to do is designing an error handler message flow for a queue which encounters all the system exception messages.

for this can i do a browse in the flow using the mqget node or I have to do the mqget.

Using time control nodes, according to my understanding the broker will keep the messages in its memory until the time outs, which i think will be costly if the system fails and lot of messages generated, please correct me if i am wrong.

So what i was thinking if i could start the message flow after a fixed interval of time I'll be able to give appropriate time to fix the problem and won't use much broker resources.

thanks
wmqiadmin
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 14, 2007 12:37 am    Post subject: Reply with quote

Grand High Poobah

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

Do I understand you correctly, you're planning to put exception messages on a holding queue, processing them in batch a period of time later when the problem should be fixed?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
wmqiadmin
PostPosted: Mon Mar 26, 2007 11:29 am    Post subject: Reply with quote

Disciple

Joined: 19 Jun 2005
Posts: 163
Location: epping UK

Vitor wrote:
Do I understand you correctly, you're planning to put exception messages on a holding queue, processing them in batch a period of time later when the problem should be fixed?


Yes that is true. Any suggestions on this.

Thanks
wmqiadmin
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 » Batch process
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.