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 » Why message not going on Dead Letter Queue?

Post new topic  Reply to topic
 Why message not going on Dead Letter Queue? « View previous topic :: View next topic » 
Author Message
logonaniket
PostPosted: Tue Jan 05, 2016 9:37 am    Post subject: Why message not going on Dead Letter Queue? Reply with quote

Novice

Joined: 12 Dec 2013
Posts: 17

Hi Guys

I have developed a flow like this

MQInput -> Compute -> MQOutput

MQInputQ -> INQ
MQOutputQ -> OUTQ

MQInput Catch Terminal -> CatchQ
MQInput Failure Terminal -> FailQ

MQOutput Failure Terminal -> OutFailQ

**InputQ has a BackoutQ named BackOutQ with backout threshold as 0.
**DeadLetterQ has been configured in the QMgr as SYSTEM.DEAD.LETTER.QUEUE


Now.. everything is working except the scenario mentioned below:
- When OUTQ is full or not present, flow tries to put the message to OutFailQ but
---OutFailQ is also full or not present, so flow goes to CATCH terminal and tries to push the message to CatchQ but
--------CatchQ is also full or not present, so flow goes to Failure Terminal and tries to push the message to FailQ but
------------FailQ is also full or not present so flow goes back to Input node and tries to push the message to BackOutQ but
------------------BackoutQ is not present or full

Now what happens?

What I want is that.. If BackOutQ is full, it should put the message to SYSTEM.DEAD.LETTER.QUEUE but it doesn't. Instead it keeps on trying to push the message to Failure terminal indefinitely....

Please
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 05, 2016 10:23 am    Post subject: Re: Why message not going on Dead Letter Queue? Reply with quote

Grand High Poobah

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

logonaniket wrote:
What I want is that.. If BackOutQ is full, it should put the message to SYSTEM.DEAD.LETTER.QUEUE but it doesn't. Instead it keeps on trying to push the message to Failure terminal indefinitely....


Because you've wired the Failure terminal and hence told broker that you're want to handle the error.

What I think you need is a Try Catch node before the MQOutput node writing to FailQ, and a Compute node to RESIGNAL that you're giving up.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
logonaniket
PostPosted: Tue Jan 05, 2016 11:03 pm    Post subject: Reply with quote

Novice

Joined: 12 Dec 2013
Posts: 17

Okay! But how will I trigger that I am giving up? What ESQL statement I have to write for that?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jan 05, 2016 11:21 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

how do you throw any exception in ESQL?
_________________
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
View user's profile Send private message
logonaniket
PostPosted: Tue Jan 05, 2016 11:29 pm    Post subject: Reply with quote

Novice

Joined: 12 Dec 2013
Posts: 17

Normal Throw Node!
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jan 05, 2016 11:31 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

logonaniket wrote:
Normal Throw Node!


or the THROW ESQL statement.
_________________
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
View user's profile Send private message
logonaniket
PostPosted: Tue Jan 05, 2016 11:34 pm    Post subject: Reply with quote

Novice

Joined: 12 Dec 2013
Posts: 17

Just tested one scenario!

When Backout Queue is FULL, it sends the message to SYSTEM.DEAD.LETTER.QUEUE but

When Backout Queue does not exist then it gets stuck on the INPUT node itself!
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Jan 06, 2016 12:52 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

logonaniket wrote:
Just tested one scenario!

When Backout Queue is FULL, it sends the message to SYSTEM.DEAD.LETTER.QUEUE but

When Backout Queue does not exist then it gets stuck on the INPUT node itself!


does the Queue definiton still include the BOQ definition?
What errors are reported in the AMQERR01.Log file

A lot of the issues you are encountering will be accompanied by corresponding MQ errors. Why aren't you looking at them? We do.
_________________
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
View user's profile Send private message
Vitor
PostPosted: Wed Jan 06, 2016 5:36 am    Post subject: Reply with quote

Grand High Poobah

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

logonaniket wrote:
What ESQL statement I have to write for that?


RESIGNAL
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Why message not going on Dead Letter 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.