Class JmsMessageFactory

java.lang.Object
org.mule.jms.commons.api.message.JmsMessageFactory

public class JmsMessageFactory extends Object
  • Field Details

  • Constructor Details

    • JmsMessageFactory

      public JmsMessageFactory()
  • Method Details

    • build

      public static jakarta.jms.Message build(JmsSupport jmsSupport, org.mule.runtime.extension.api.runtime.parameter.OutboundCorrelationStrategy outboundCorrelationStrategy, org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo, jakarta.jms.Session session, JmsConfig<?,?> config, JmsMessageBuilder<?> messageBuilder) throws jakarta.jms.JMSException, IOException
      Creates a Message based on the provided configurations
      Parameters:
      jmsSupport - the JmsSupport used to create the JMSReplyTo Destination
      outboundCorrelationStrategy - the correlationId handling strategy
      correlationInfo - the correlation information for the current message
      session - the current Session
      config - the current DefaultJmsProducerConfig
      Returns:
      the Message created by the user
      Throws:
      jakarta.jms.JMSException - if an error occurs
      IOException