Interface ReplyHandler

All Known Implementing Classes:
QueueReplyHandler, TemporaryQueueReplyHandler

public interface ReplyHandler
Handles a reply.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onReply(String correlationId, jakarta.jms.Message reply, jakarta.jms.Session session)
    The reply message was received
    void
    onTimeout(String correlationId)
    The reply message was not received and a timeout triggered
  • Method Details

    • onReply

      void onReply(String correlationId, jakarta.jms.Message reply, jakarta.jms.Session session)
      The reply message was received
      Parameters:
      correlationId - the correlation id
      reply - the JMS reply message
      session - the JMS session
    • onTimeout

      void onTimeout(String correlationId)
      The reply message was not received and a timeout triggered
      Parameters:
      correlationId - the correlation id