Class GenericInboundListener
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.protocol.generic.GenericInboundListener
-
- All Implemented Interfaces:
org.apache.synapse.inbound.InboundRequestProcessor
public abstract class GenericInboundListener extends Object implements org.apache.synapse.inbound.InboundRequestProcessor
-
-
Field Summary
Fields Modifier and Type Field Description protected String
injectingSequence
protected String
name
protected String
onErrorSequence
static String
PARAM_INBOUND_ENDPOINT_BEHAVIOR
static String
PARAM_INBOUND_ENDPOINT_BEHAVIOR_LISTENING
protected org.apache.synapse.inbound.InboundProcessorParams
params
-
Constructor Summary
Constructors Constructor Description GenericInboundListener(org.apache.synapse.inbound.InboundProcessorParams inboundParams)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GenericInboundListener
getInstance(org.apache.synapse.inbound.InboundProcessorParams inboundParams)
This is to get the GenericInboundListener instance for given paramsprotected static void
handleException(String msg, Exception e)
static boolean
isListeningInboundEndpoint(org.apache.synapse.inbound.InboundProcessorParams inboundParameters)
States whether generic endpoint is a listening Return true; if listening
-
-
-
Field Detail
-
PARAM_INBOUND_ENDPOINT_BEHAVIOR
public static final String PARAM_INBOUND_ENDPOINT_BEHAVIOR
- See Also:
- Constant Field Values
-
PARAM_INBOUND_ENDPOINT_BEHAVIOR_LISTENING
public static final String PARAM_INBOUND_ENDPOINT_BEHAVIOR_LISTENING
- See Also:
- Constant Field Values
-
injectingSequence
protected String injectingSequence
-
onErrorSequence
protected String onErrorSequence
-
name
protected String name
-
params
protected org.apache.synapse.inbound.InboundProcessorParams params
-
-
Method Detail
-
getInstance
public static GenericInboundListener getInstance(org.apache.synapse.inbound.InboundProcessorParams inboundParams)
This is to get the GenericInboundListener instance for given params- Parameters:
inboundParams
-- Returns:
-
isListeningInboundEndpoint
public static boolean isListeningInboundEndpoint(org.apache.synapse.inbound.InboundProcessorParams inboundParameters)
States whether generic endpoint is a listening Return true; if listening- Parameters:
inboundParameters
- Inbound Parameters for endpoint- Returns:
- boolean
-
-