public static enum MessageQueue.IMQCallback.Action extends Enum<MessageQueue.IMQCallback.Action>
Enum Constant and Description |
---|
Abort
Return from MQScan immediately without dequeueing a message.
Note that MQScan returns ERR_MQSCAN_ABORT |
Continue
Process the next message
|
Delete
Remove the current message from the message queue and continue the enumeration
|
Dequeue
Remove the message from the queue, terminate the enumeration, and return
the current message to the caller of MQScan.
If the Buffer is smaller than the message, MQScan can return ERR_MQ_BFR_TOO_SMALL. |
Modifier and Type | Method and Description |
---|---|
static MessageQueue.IMQCallback.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageQueue.IMQCallback.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageQueue.IMQCallback.Action Continue
public static final MessageQueue.IMQCallback.Action Abort
public static final MessageQueue.IMQCallback.Action Dequeue
public static final MessageQueue.IMQCallback.Action Delete
public static MessageQueue.IMQCallback.Action[] values()
for (MessageQueue.IMQCallback.Action c : MessageQueue.IMQCallback.Action.values()) System.out.println(c);
public static MessageQueue.IMQCallback.Action valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019–2021 HCL. All rights reserved.