|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
does IBMMQ AMQP channel supports DLQ? |
« View previous topic :: View next topic » |
Author |
Message
|
mayur_bm |
Posted: Fri Apr 29, 2022 2:37 am Post subject: does IBMMQ AMQP channel supports DLQ? |
|
|
Newbie
Joined: 29 Apr 2022 Posts: 4
|
Hi,
i am trying to use DLQ concept on AMQP channel in IBM MQ 9.2.5 servers. is it supported?
Thanks,
Mayur |
|
Back to top |
|
 |
hughson |
Posted: Sun May 01, 2022 3:28 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
You'll have to elaborate more on what you mean by your question.
AMQP channels are not qmgr-qmgr channels, they are more akin to a SVRCONN channel.
The DLQ concept in channels is for qmgr-qmgr channels, so there is not an equivalent concept for an AMQP channel. Therefore I don't understand what your question is asking about and you will need to provide more details.
Perhaps outline the error condition you have in mind and what you expect to happen as a result of that error condition.
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
mayur_bm |
Posted: Sun May 01, 2022 6:09 pm Post subject: |
|
|
Newbie
Joined: 29 Apr 2022 Posts: 4
|
Thanks for the response.
Assuming using AMQP channel i am sending messages to queue , then for some reason Queue is full. how do i move messages to DLQ using AMQP channel?
Best Regards,
Mayur |
|
Back to top |
|
 |
hughson |
Posted: Sun May 01, 2022 8:38 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
mayur_bm wrote: |
Assuming using AMQP channel i am sending messages to queue , then for some reason Queue is full. how do i move messages to DLQ using AMQP channel? |
This is not so much a question about the channel, but instead a question about your application. The put to the queue over an application connection channel such as a SVRCONN or an AMQP client channel is synchronous. So the MQRC_QUEUE_FULL return code will be returned to the application. The application can then decide what it wants to do. If it wants to re-do the MQPUT to the DLQ, it can, but it must do that itself.
qmgr-qmgr RCVR channels put messages to the DLQ when the target queue is full because they are not in direct communication to the original application and must look after the message and put it somewhere safe, either on the DLQ, or left on the XmitQ. This concept does not apply to the application connections that come in over SVRCONNs and AMQP channels.
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon May 02, 2022 3:07 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Hi Mayur,
There are many situations where putting to a MQ queue may fail, and return a Reason Code to the application, besides Queue Full. The most serious is that AMQP channel connection to the queue manager is not possible (eg. network or infrastructure failure). Think about what quality of service is required, and how the app will cater for that.
Queue Full is actually quite rare in a production system, as there should be ample disk space and max depth capacity to cope with extended outages of the consumer app, operational issues, etc. _________________ Glenn |
|
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
|
|
|
|