Class TemplateEndpoint

    • Constructor Detail

      • TemplateEndpoint

        public TemplateEndpoint()
    • Method Detail

      • send

        public void send​(MessageContext synCtx)
        Description copied from interface: Endpoint
        Sends the message context according to an endpoint specific behavior.
        Specified by:
        send in interface Endpoint
        Overrides:
        send in class AbstractEndpoint
        Parameters:
        synCtx - MessageContext to be sent.
      • getParameterValue

        public String getParameterValue​(String name)
      • addParameter

        public void addParameter​(String name,
                                 String value)
      • getTemplate

        public String getTemplate()
      • setTemplate

        public void setTemplate​(String template)
      • getAddress

        public String getAddress()
      • setAddress

        public void setAddress​(String address)
      • init

        public void init​(SynapseEnvironment synapseEnvironment)
        Description copied from interface: ManagedLifecycle
        This method should implement the initialization of the implemented parts of the configuration.
        Specified by:
        init in interface ManagedLifecycle
        Overrides:
        init in class AbstractEndpoint
        Parameters:
        synapseEnvironment - SynapseEnvironment to be used for initialization
      • readyToSend

        public boolean readyToSend()
        Description copied from interface: Endpoint
        Returns true to indicate that the endpoint is ready to service requests
        Specified by:
        readyToSend in interface Endpoint
        Overrides:
        readyToSend in class AbstractEndpoint
        Returns:
        true if endpoint is ready to service requests
      • getRealEndpoint

        public Endpoint getRealEndpoint()