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 » MQSI Node To Stop An MQ Input Queue

Post new topic  Reply to topic
 MQSI Node To Stop An MQ Input Queue « View previous topic :: View next topic » 
Author Message
gowdy
PostPosted: Tue Sep 11, 2001 12:29 am    Post subject: Reply with quote

Apprentice

Joined: 17 Jul 2001
Posts: 29
Location: Bournemouth, UK

Hi

Does anyone know of any node that exists out there that allows the automatic stop of an MQ queue? We want to do something like this for exception handling (ie, if we have a number of messages that are going to error, we want to stop the input queue for those messages)

Thanks

Mark
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Thu Sep 13, 2001 12:47 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Mark,

You could always put out a PCF message to the SYSTEM.ADMIN.COMMMAND.QUEUE to achieve this.

Take a look at the Programmable System Management manual for details about PCF.

Cheers.

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Sep 24, 2001 7:42 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

There is an article about MQSI exception handling in Xephon's MQ Update (issues 27 and 2 see http://www.xephon.com (but not free).

You can issue an MQSI-like XML message to stop the message flow which is pretty simple and short, but not officially supported. The example below would need your uuid values determined and inserted into the message:

Code:

<Broker uuid="1234" label="Broker1" version="1">
<ExecutionGroup uuid="5678">
<Stop>
<MessageFlow uuid="9101112"/>
</Stop>
</ExecutionGroup>
</Broker>


And sent to SYSTEM.BROKER.ADMIN.QUEUE with format "xml", message type of MQMT_REQUEST, ReplytoQ (yours) ReplytoQMgr (yours), Messageid MQMI_NONE, Report of MQRO_COPY_MSG_ID_TO_CORREL_ID, CCSID = 1208, Persistence MQPER_PERSISTENCE_AS_Q_DEF

The article in issue 28 gives the source for a PCF program to get-inhibit the queue which is a documented method. Sorry I can't show it here it's too long.

[ This Message was edited by: zpat on 2001-09-24 08:45 ]
Back to top
View user's profile Send private message
gowdy
PostPosted: Thu Oct 11, 2001 1:38 am    Post subject: Reply with quote

Apprentice

Joined: 17 Jul 2001
Posts: 29
Location: Bournemouth, UK

Hi Eddie

I have been looking at issuing a PCF message to the SYSTEM.ADMIN.COMMAND.QUEUE, but cannot see a command for stopping a Queue or a Queue Manager. Would I need to stop the channel? Any help would be appreciated - it may be a daft thing to say, but know almost nothing about MQSeries, even though using Workflow and MQSI.

Regards

Mark
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Thu Oct 11, 2001 8:07 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Mark,

There's no real concept of Stopping and Starting queues in MQSeries. For this question, I would simply make the queue 'Get Disabled'.

As for stopping the queue manager. I've not checked, but I'm not surprised that there is no programatic way of doing this. A little like sawing off the branch you are sitting on.

Cheers.

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
gowdy
PostPosted: Fri Oct 12, 2001 12:15 am    Post subject: Reply with quote

Apprentice

Joined: 17 Jul 2001
Posts: 29
Location: Bournemouth, UK

Eddie,

Thanks for that - sounds like a good idea. As for stopping the queue manager, tried it and it works - I have been often known to saw off the branch whilst sitting on it, even if that branch is 100 feet off the ground. Must learn more MQSeries!

Kind regards

Mark
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQSI Node To Stop An MQ Input Queue
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.