public enum RequestReplyPattern extends Enum<RequestReplyPattern>
| Enum Constant and Description |
|---|
CORRELATION_ID |
MESSAGE_ID |
NONE |
| Modifier and Type | Method and Description |
|---|---|
String |
createSelector(javax.jms.Message message) |
static RequestReplyPattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestReplyPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestReplyPattern CORRELATION_ID
public static final RequestReplyPattern MESSAGE_ID
public static final RequestReplyPattern NONE
public static RequestReplyPattern[] values()
for (RequestReplyPattern c : RequestReplyPattern.values()) System.out.println(c);
public static RequestReplyPattern 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 nullpublic String createSelector(javax.jms.Message message) throws javax.jms.JMSException
javax.jms.JMSExceptionCopyright © 2020. All rights reserved.