Class NatsReplySender

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

    public class NatsReplySender
    extends Object
    implements org.apache.synapse.inbound.InboundResponseSender
    Send the Reply from the Respond Mediator using this class (only for core NATS).
    • Constructor Detail

      • NatsReplySender

        public NatsReplySender​(String replyTo,
                               io.nats.client.Connection connection)
    • Method Detail

      • sendBack

        public void sendBack​(org.apache.synapse.MessageContext messageContext)
        Specified by:
        sendBack in interface org.apache.synapse.inbound.InboundResponseSender