|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How can I get the message with DLQ header in remote qmgr? |
« View previous topic :: View next topic » |
Author |
Message
|
kun.leeing |
Posted: Sun May 25, 2014 3:09 am Post subject: How can I get the message with DLQ header in remote qmgr? |
|
|
 Disciple
Joined: 27 Sep 2008 Posts: 171
|
Hi experts,
In my scenario, 3 qmgrs, source one, middle one and target one, source and target got connected by sender-receiver thoughways through middle one, only source one in our scope, the others two all in another vendor's hold. Now we need to send messages from source one to target one by remote queue.
By tracing route, what I can confirm is my test message got stuck in middle qmgr and put in DLQ. So I wanna know the exact reason why the mesage could not reach the requested remote queue.
I would like to get the messages with DLQ header now which I sent . Could somebody tell me how can I ask the vendor for getting back my messages with DLQ headers? Is that possible? and Normally, in this kind of scenario, what is the way to request DLQ header?
Is that possible the message is saved in File for transporting or whatever ways?
Thanks in advance. |
|
Back to top |
|
 |
tczielke |
Posted: Sun May 25, 2014 4:44 am Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
|
Back to top |
|
 |
kun.leeing |
Posted: Sun May 25, 2014 5:36 am Post subject: |
|
|
 Disciple
Joined: 27 Sep 2008 Posts: 171
|
Thanks,
but what I exactly want is DLQ Header from the vendor, preferably with the original message. |
|
Back to top |
|
 |
exerk |
Posted: Sun May 25, 2014 10:40 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
kun.leeing wrote: |
Thanks,
but what I exactly want is DLQ Header from the vendor, preferably with the original message. |
Then ask the 'vendor' to use their DLQ handler to route it back to you, to a queue of your choice, without stripping the DLQH. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun May 25, 2014 10:50 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
kun.leeing wrote: |
Thanks,
but what I exactly want is DLQ Header from the vendor, preferably with the original message. |
Contact the WMQ administrator at the place where the message ended up in their DLQ. Ask them to inspect the DLH (dead letter header), and tell you the ReasonCode in the DLH.
With supplied utilities, they can copy the message and DLH to a file, and email the file to you. _________________ 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 |
|
 |
PeterPotkay |
Posted: Sun May 25, 2014 4:19 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If you are you asking how to get it manually back, just talk to them and agree on a format. Have them save the message and header info to a file format that will work with a tool you have.
Or, as tczielke alluded to, change your app to set the MQRO_EXCEPTION_WITH_FULL_DATA Report option in the MQMD, and specify the Reply To Queue value in the MQMD which will be queue local on your system where you would like to see these reports. The middle queue manager will not only place the message in the DLQ with a Dead Letter Header, but will also send back a report message back to you that includes the entire original message plus the details of why the message went to the DLQ.
Optionally you can choose to also set the MQRO_DISCARD_MSG, which will tell the middle QM to not place the message in it's DLQ but to throw it away, leaving you with just the report message with all the original data and the reason why it would have gone to the DLQ. This could be useful because it eliminates you having to rely on them doing something with that message in the DLQ. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
kun.leeing |
Posted: Sun May 25, 2014 6:18 pm Post subject: |
|
|
 Disciple
Joined: 27 Sep 2008 Posts: 171
|
Thanks guys a lot for helping here.
Quote: |
Then ask the 'vendor' to use their DLQ handler to route it back to you, to a queue of your choice, without stripping the DLQH. |
Thanks, Exerk, I don't know if runmqdlq fulfill this? or I have to ask them for coding a new one , like changing the sample fitting this?
Quote: |
Optionally you can choose to also set the MQRO_DISCARD_MSG, which will tell the middle QM to not place the message in it's DLQ but to throw it away, leaving you with just the report message with all the original data and the reason why it would have gone to the DLQ. This could be useful because it eliminates you having to rely on them doing something with that message in the DLQ. |
Thanks, Peter. This is a really good suggestion, but unfortunately, I just have access to send test message by explorer.
Quote: |
With supplied utilities, they can copy the message and DLH to a file, and email the file to you. |
And Bruce, what exactly the Supplied utilities are? I do need to suggest for saving a file to me , that would be really helpful.
Thanks in advance. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun May 25, 2014 6:23 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
have you tried support pack IH03 RHFUtil(c) ?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
kun.leeing |
Posted: Sun May 25, 2014 6:54 pm Post subject: |
|
|
 Disciple
Joined: 27 Sep 2008 Posts: 171
|
I wanna use it. But considering the security problem, I am not sure if I could upload the exe to our jump machine. But thanks, anyway. |
|
Back to top |
|
 |
exerk |
Posted: Mon May 26, 2014 12:38 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
kun.leeing wrote: |
Thanks guys a lot for helping here.
Quote: |
Then ask the 'vendor' to use their DLQ handler to route it back to you, to a queue of your choice, without stripping the DLQH. |
Thanks, Exerk, I don't know if runmqdlq fulfill this? or I have to ask them for coding a new one , like changing the sample fitting this? |
All they need to do is define a QREMOTE, resolving to the queue of your choice, and put a temporary DLQ rule in to move it to that QREMOTE, but other suggestions here have more merit. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon May 26, 2014 9:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
kun.leeing wrote: |
I wanna use it. But considering the security problem, I am not sure if I could upload the exe to our jump machine. But thanks, anyway. |
This is why I mentioned also the client version. Obviously you have access to the qmgr data. So you should be able to browse the queue of your choice with RFHUtilc (client version).
As to receiving the information back from the vendor, any of my esteemed colleagues suggestion will do.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|