Interface JmsMessageBuilder<D extends JmsDestination>

All Known Subinterfaces:
JmsResponseMessageBuilder<D>
All Known Implementing Classes:
DefaultJmsMessageBuilder, DefaultJmsResponseMessageBuilder

public interface JmsMessageBuilder<D extends JmsDestination>
  • Method Details

    • build

      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) 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
    • getBody

      org.mule.runtime.api.metadata.TypedValue<Object> getBody()
    • isSendContentType

      boolean isSendContentType()
    • getOutboundContentType

      String getOutboundContentType()
    • getProperties

      Map<String,Object> getProperties()
    • getJmsType

      String getJmsType()
    • getCorrelationId

      String getCorrelationId()
    • getJmsxProperties

      JmsxProperties getJmsxProperties()
    • getReplyTo

      JmsDestination getReplyTo()
    • isSendEncoding

      boolean isSendEncoding()
    • getOutboundEncoding

      String getOutboundEncoding()