Class GenericInboundListener

  • All Implemented Interfaces:
    org.apache.synapse.inbound.InboundRequestProcessor

    public abstract class GenericInboundListener
    extends Object
    implements org.apache.synapse.inbound.InboundRequestProcessor
    • Field Detail

      • 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
      • params

        protected org.apache.synapse.inbound.InboundProcessorParams params
    • Constructor Detail

      • GenericInboundListener

        public GenericInboundListener​(org.apache.synapse.inbound.InboundProcessorParams inboundParams)
    • 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
      • handleException

        protected static void handleException​(String msg,
                                              Exception e)