Class NatsReplySender

java.lang.Object
org.wso2.carbon.inbound.endpoint.protocol.nats.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 Details

    • NatsReplySender

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

    • sendBack

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