public enum FlowEvent extends Enum<FlowEvent>
FlowEventHandler
) registered for a flow. The flow event
callback is registered when a flow is created through
JCSMPSession.createFlow(XMLMessageListener, ConsumerFlowProperties, EndpointProperties, FlowEventHandler)
Enum Constant and Description |
---|
FLOW_ACTIVE
The flow is active and ready to receive messages.
|
FLOW_DOWN
The flow was established and then went down.
|
FLOW_INACTIVE
The flow is inactive and cannot receive messages.
|
FLOW_RECONNECTED
The automatic reconnect of the flow was successful, and the flow was established again.
|
FLOW_RECONNECTING
The flow has gone down, and an automatic reconnect attempt is in progress.
|
FLOW_UP
The flow is established.
|
Modifier and Type | Method and Description |
---|---|
static FlowEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlowEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowEvent FLOW_INACTIVE
public static final FlowEvent FLOW_ACTIVE
public static final FlowEvent FLOW_UP
public static final FlowEvent FLOW_DOWN
public static final FlowEvent FLOW_RECONNECTING
public static final FlowEvent FLOW_RECONNECTED
public static FlowEvent[] values()
for (FlowEvent c : FlowEvent.values()) System.out.println(c);
public static FlowEvent 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 2004-2024 Solace Corporation. All rights reserved.