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 » How do force writing msg to dlq with flow w/ soapInput Node

Post new topic  Reply to topic
 How do force writing msg to dlq with flow w/ soapInput Node « View previous topic :: View next topic » 
Author Message
sclarke
PostPosted: Mon May 05, 2014 6:32 am    Post subject: How do force writing msg to dlq with flow w/ soapInput Node Reply with quote

Apprentice

Joined: 05 Jan 2002
Posts: 39

I have a flow which has a soap input node operating in gateway mode which also executes a backend web service and sends the soap reply back to the requestor. In certain situations AFTER the soap reply is returned - I write a message to a queue to drive another downstream process. I have a trycatch node wired before writing to the mqoutput node so that I can create a backout message and failure information in a 'backout' queue if the put to the queue fails. This works wonderfully as expected. However - in the exception situation if I also have problems writing to the backout queue - I want the message written to the dead letter queue. Because the trycatch catch terminal is wired to write to our backout queue - if that fails - the message rolls back to the original soap input queue. Of course there - i have the catch wired to handle various soap errors for the original soap request - I don't want the soap requestor to know anything about this - they are long gone.

I can hardwire to the dlq by connecting to the 'failure' terminal of the backout msg mqoutput node and this works - but it doesn't seem right.

thoughts? no flames please....
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon May 05, 2014 7:47 am    Post subject: Re: How do force writing msg to dlq with flow w/ soapInput N Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

sclarke wrote:

I can hardwire to the dlq by connecting to the 'failure' terminal of the backout msg mqoutput node and this works - but it doesn't seem right.

thoughts? no flames please....

Why? That's exactly what you are supposed to do in this case... and don't forget to add the DLQ header before writing the message to the DLQ...
_________________
MQ & Broker admin
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 » How do force writing msg to dlq with flow w/ soapInput Node
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.