Class InboundProcessorParams


  • public class InboundProcessorParams
    extends Object
    This is the entity which holds parameters which is related to an InboundEndpoint
    • Constructor Detail

      • InboundProcessorParams

        public InboundProcessorParams()
    • Method Detail

      • getName

        public String getName()
        Get the name of the inbound endpoint
        Returns:
        name
      • setName

        public void setName​(String name)
        Set the name of the inbound endpoint
        Parameters:
        name - name of the endpoint
      • getProtocol

        public String getProtocol()
        Protocol of inbound endpoint.

        This may become null if classImpl is used

        Returns:
        protocol of InboundEndpoint
      • setProtocol

        public void setProtocol​(String protocol)
        Set the protocol of the Inbound Endpoint
        Parameters:
        protocol - protocol name
      • getClassImpl

        public String getClassImpl()
        Get the custom class implementation of InboundEndpoint This will return the FQN of the InboundEndpoint custom class implementation.
        Returns:
        FQN of class implementation
      • setClassImpl

        public void setClassImpl​(String classImpl)
        Set the custom class implementation of InboundEndpoint
        Parameters:
        classImpl - FQN of custom class implementation
      • getProperties

        public Properties getProperties()
        Get the properties associated with the InboundEndpoint
        Returns:
        associated properties
      • setProperties

        public void setProperties​(Properties properties)
        Set properties for InboundEndpoint
        Parameters:
        properties - properties
      • getInjectingSeq

        public String getInjectingSeq()
        Get the sequence which message should be dispatched to
        Returns:
        sequence name
      • setInjectingSeq

        public void setInjectingSeq​(String injectingSeq)
        Set the sequence which message should be dispatched to
        Parameters:
        injectingSeq - name of the sequence
      • getOnErrorSeq

        public String getOnErrorSeq()
        Get the sequence which get invoked when something goes wrong in InboundEndpoint
        Returns:
        onError sequence for InboundEndpoint
      • setOnErrorSeq

        public void setOnErrorSeq​(String onErrorSeq)
        Set the sequence which get invoked when something goes wrong in InboundEndpoint
        Parameters:
        onErrorSeq - onError sequence name
      • getSynapseEnvironment

        public SynapseEnvironment getSynapseEnvironment()
        Get the synapse environment
        Returns:
        synapse environment
      • setSynapseEnvironment

        public void setSynapseEnvironment​(SynapseEnvironment synapseEnvironment)
        Set the synapse environment
        Parameters:
        synapseEnvironment - synapse environment
      • getHandlers

        public List<org.apache.synapse.commons.handlers.MessagingHandler> getHandlers()
      • addHandler

        public void addHandler​(org.apache.synapse.commons.handlers.MessagingHandler handler)