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 » IBM MQ API Support » does IBMMQ AMQP channel supports DLQ?

Post new topic  Reply to topic
 does IBMMQ AMQP channel supports DLQ? « View previous topic :: View next topic » 
Author Message
mayur_bm
PostPosted: Fri Apr 29, 2022 2:37 am    Post subject: does IBMMQ AMQP channel supports DLQ? Reply with quote

Newbie

Joined: 29 Apr 2022
Posts: 2

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
View user's profile Send private message
hughson
PostPosted: Sun May 01, 2022 3:28 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
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
View user's profile Send private message Visit poster's website
mayur_bm
PostPosted: Sun May 01, 2022 6:09 pm    Post subject: Reply with quote

Newbie

Joined: 29 Apr 2022
Posts: 2

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
View user's profile Send private message
hughson
PostPosted: Sun May 01, 2022 8:38 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
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
View user's profile Send private message Visit poster's website
gbaddeley
PostPosted: Mon May 02, 2022 3:07 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2492
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
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 » IBM MQ API Support » does IBMMQ AMQP channel supports DLQ?
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.