Obtaining a queue status while using MQOD to put message to multiple queues

Technote (FAQ)


Question

I am using MQOD to put the same message to multiple MQ queues. However, when one queue is full or unavailable, I do not get the status of that queue. Is there a way to get the status?

Answer

It is currently not possible to get the status of a single queue when putting the same message to multiple queues using MQOD. However, there was an APAR IC69452 fix that provided a new attribute "fail-on-warning" that can be used with the MQOD virtual header. When the attribute value is true, DataPower will fail the MQOPEN or MQPUT operation using a distribution list when some of the destinations have failures.

An example use of the 'fail-on-warning' attribute:
<MQOD fail-on-warning="true">

<MQOR><ObjectName>QUEUE1</ObjectName></MQOR>
<MQOR><ObjectName>QUEUE2</ObjectName></MQOR>
<MQOR><ObjectName>QUEUE3</ObjectName></MQOR>
......
</MQOD>

APAR IC69452: DATAPOWER DOES NOT HANDLE THE SITUATION OF A DESTINATION QUEUE NOT BEING IN A DISTRIBUTION LIST.

When the 'fail-on-warning' attribute is used and some of the destination queues are full, the PUT will fail with MQ Reason Code 2136.


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere DataPower SOA Appliances
General

Software version:

3.8.1, 3.8.2, 4.0, 4.0.1, 4.0.2, 5.0.0

Operating system(s):

Firmware

Reference #:

1600775

Modified date:

2013-02-01

Translate my page

Machine Translation

Content navigation