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 » General Discussion » Can a Message Flow Disable Itself?

Post new topic  Reply to topic
 Can a Message Flow Disable Itself? « View previous topic :: View next topic » 
Author Message
albitkw
PostPosted: Mon Dec 04, 2006 11:19 am    Post subject: Can a Message Flow Disable Itself? Reply with quote

Novice

Joined: 02 May 2005
Posts: 15
Location: Pittsburgh, PA

I'm using a vrs 5.0 broker messge flow to insert records from MQ messages into a remote Oracle database. This can be implemented as either a DataInsert Node or as an ESQL module of a Compute node. An external stored procedure call is aother option we're looking at that might offer some performance advantages.

Given certain errors associated with the remote database, e.g., database not available, is there a way to use the THROW function following a DataInsert failure, or certain SQLCODE value after an ESQL Insert to STOP the message flow so that messages waiting on an input queue are not processed? (Of course, we do not want to interrupt other messages flows running on the broker)

What I've read so far indicates that the messages should be routed to a message failures queue. I want to know if there are any other options that would stop the message flow from attempting to connect to a corrupt database.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Dec 04, 2006 12:13 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can create a PCF message to the command server to Get-Disable the input queue.
_________________
I am *not* the model of the modern major general.
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 » General Discussion » Can a Message Flow Disable Itself?
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.