-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
DefaultReplyToStrategy,HandleAnyReplyToStrategy
public interface ReplyToStrategy extends java.io.SerializableInterface 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.StringDIRECT_REPLY_TO
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleReplyTo(jakarta.jms.Message message, java.lang.String replyTo)Handles the reply to on a received message.
-
-
-
Field Detail
-
DIRECT_REPLY_TO
static final java.lang.String DIRECT_REPLY_TO
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleReplyTo
void handleReplyTo(jakarta.jms.Message message, java.lang.String replyTo) throws jakarta.jms.JMSExceptionHandles 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
-
-