Author |
Message
|
header |
Posted: Mon Apr 20, 2015 9:11 pm Post subject: Messages going to both Backout queue and dead letter queue |
|
|
Newbie
Joined: 20 Apr 2015 Posts: 2
|
So for one of my interfaces, during negative testing, the message goes to the backout queue and the dead letter queue.
My problem is that it should not be going to any queue once it has been backed out to a backout queue
Has anyone ever faced something like this? |
|
Back to top |
|
 |
PaulClarke |
Posted: Mon Apr 20, 2015 9:44 pm Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Is this a Broker question or just base MQ ? Might be as well to let us know your exact environment and language.
For example, in base MQ in a language such as C, MQ will not put a message to either queue automatically so it would suggest an application bug.
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Apr 20, 2015 9:48 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
And the DLQ header will tell you the error that resulted in the message going to the DLQ.
a utility such as rfhutil will decode it nicely for you. _________________ 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 |
|
 |
header |
Posted: Mon Apr 20, 2015 11:05 pm Post subject: thanks paul |
|
|
Newbie
Joined: 20 Apr 2015 Posts: 2
|
Paul, yes its a WMB interface ober an MQ base
I checked the DLQ and the reason code was 65536, which i guess is application related.
I need to understand if it can be a issue with my code that is throwing the messages to the dead letter queue
Appreciate your help guys |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 21, 2015 5:41 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If you have a working negative test... you can use WMB tracing to find out what path it's taking that's causing it to hit the DLQ... It doesn't seem reasonable that there is a mesasge on both the BackoutQueue and the DLQ...
Are you sure the contents of both messages is the same? Maybe your flow does a propagate twice. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Apr 21, 2015 10:22 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Post here the complete dead-letter header (DLH) from the dead-letter queue. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|