|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Hold Processing of messages |
« View previous topic :: View next topic » |
Author |
Message
|
me.mehta |
Posted: Wed Aug 31, 2011 8:34 pm Post subject: Hold Processing of messages |
|
|
Novice
Joined: 30 Dec 2010 Posts: 11
|
Hi All,
I am new to WMB. I have a requirement where a flow A is processing messages from a queue Q1. Another flow B gets a message from another queue Q2 as a trigger to stop processing of messages from Q1. Then another message on Q2 will be received which will resume the processing of flow A from Q1. I am not sure how this can be implemented in WMB. Can you please help and provide some pointers on it?
Thanks,
Me |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Aug 31, 2011 9:26 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Two ways spring to mind
Have the controlling queue issue the PCF Commands to 'get inhibit' the input queue for the first flow.
OR
Use a JCN or the JobExecutionNode support pack to issue an mqsistopmessageflow command.
If you search this forum I am sure you will find that this question has been asked before.
IMHO, this is not a job suitable for a Broker novice. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Sep 01, 2011 4:18 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Davies' first option, get disable, is the most viable. If you stop a message flow, you run the risk of the message flow not starting properly, which occurs more frequently than you would think. Leave the flow running and get disable the queue. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
zpat |
Posted: Thu Sep 01, 2011 8:28 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If you hold message processing for a time then your system management tool may think something is wrong with your WMB broker/flow (how will it know when this is a normal or abnormal situation?)
There is also support pac IO04 to consider. But ideally WMB flows have a continously running design.
IBM have not provided such a stop/start flow function - perhaps they think it is architecturally not good practice? Of course the CMP API can be used to programmatically request any WMB admin actions.
It's better to stop the production of messages at the source system.
Performing what are operator/admin actions as part of applications is a little messy, especially from a message flow. Why not get the system that sends the "trigger" to actually send a PCF or CMP request to do it directly? |
|
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
|
|
|
|