Class DefaultRequestReplyPatternWrapper

java.lang.Object
org.mule.jms.commons.internal.operation.DefaultRequestReplyPatternWrapper
All Implemented Interfaces:
RequestReplyPatternWrapper

public class DefaultRequestReplyPatternWrapper extends Object implements RequestReplyPatternWrapper
Default Request Reply Pattern which simply creates the selector according to the request reply pattern
  • 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: RequestReplyPatternWrapper
      Creates the selector for request reply and adds custom logic in case it is necessary.
      Specified by:
      createSelector in interface RequestReplyPatternWrapper
      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