Class DefaultRequestReplyPatternWrapper
java.lang.Object
org.mule.jms.commons.internal.operation.DefaultRequestReplyPatternWrapper
- All Implemented Interfaces:
RequestReplyPatternWrapper
Default Request Reply Pattern which simply creates the selector according to the request reply pattern
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSelector(RequestReplyPattern requestReplyPattern, jakarta.jms.Message message) Creates the selector for request reply and adds custom logic in case it is necessary.
-
Constructor Details
-
DefaultRequestReplyPatternWrapper
public DefaultRequestReplyPatternWrapper()
-
-
Method Details
-
createSelector
public String createSelector(RequestReplyPattern requestReplyPattern, jakarta.jms.Message message) throws jakarta.jms.JMSException Description copied from interface:RequestReplyPatternWrapperCreates the selector for request reply and adds custom logic in case it is necessary.- Specified by:
createSelectorin interfaceRequestReplyPatternWrapper- Parameters:
requestReplyPattern- the pattern (CORRELATION_ID, MESSAGE_ID, NONE)message- the message to apply the request reply operation- Returns:
- the string representing the request reply selector
- Throws:
jakarta.jms.JMSException- exception during the creation of the selector
-