Class Target


  • public class Target
    extends Object
    A bean class that holds the target (i.e. sequence or endpoint) information for a message as used by common EIP mediators
    • Constructor Detail

      • Target

        public Target()
    • Method Detail

      • mediate

        public boolean mediate​(MessageContext synCtx)
        process the message through this target (may be to mediate using the target sequence, send message to the target endpoint or both)
        Parameters:
        synCtx - - MessageContext to be mediated
        Returns:
        false if the target is mediated as synchronous and the sequence mediation returns false, true otherwise
      • getToAddress

        public String getToAddress()
      • setToAddress

        public void setToAddress​(String toAddress)
      • getSoapAction

        public String getSoapAction()
      • setSoapAction

        public void setSoapAction​(String soapAction)
      • getSequenceRef

        public String getSequenceRef()
      • setSequenceRef

        public void setSequenceRef​(String sequenceRef)
      • getEndpoint

        public Endpoint getEndpoint()
      • setEndpoint

        public void setEndpoint​(Endpoint endpoint)
      • getEndpointRef

        public String getEndpointRef()
      • setEndpointRef

        public void setEndpointRef​(String endpointRef)
      • setAsynchronous

        public void setAsynchronous​(boolean asynchronous)
      • isAsynchronous

        public boolean isAsynchronous()
      • setStatisticIdForMediators

        public void setStatisticIdForMediators​(ArtifactHolder holder)