Interface ReplyToStrategy

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    DefaultReplyToStrategy, HandleAnyReplyToStrategy

    public interface ReplyToStrategy
    extends java.io.Serializable
    Interface to provide a pluggable mechanism for dealing with messages received with a reply-to queue specified. Implementations of this interface should update the message's JMSReplyTo property directly.
    Since:
    2.9.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DIRECT_REPLY_TO  
    • Method Detail

      • handleReplyTo

        void handleReplyTo​(jakarta.jms.Message message,
                           java.lang.String replyTo)
                    throws jakarta.jms.JMSException
        Handles the reply to on a received message.
        Parameters:
        message - The RMQMessage that has been received.
        replyTo - The reply to queue value received.
        Throws:
        jakarta.jms.JMSException - if there's an issue updating the RMQMessage