Class SjmsTemplate

java.lang.Object
org.apache.camel.component.sjms.SjmsTemplate

public class SjmsTemplate extends Object
  • Constructor Details

    • SjmsTemplate

      public SjmsTemplate(jakarta.jms.ConnectionFactory connectionFactory, boolean transacted, int acknowledgeMode)
  • Method Details

    • getConnectionFactory

      public jakarta.jms.ConnectionFactory getConnectionFactory()
    • setDestinationCreationStrategy

      public void setDestinationCreationStrategy(DestinationCreationStrategy destinationCreationStrategy)
    • setQoSSettings

      public void setQoSSettings(int deliveryMode, int priority, long timeToLive)
    • setExplicitQosEnabled

      public void setExplicitQosEnabled(boolean explicitQosEnabled)
    • setPreserveMessageQos

      public void setPreserveMessageQos(boolean preserveMessageQos)
    • execute

      public Object execute(SessionCallback sessionCallback, boolean startConnection) throws Exception
      Throws:
      Exception
    • execute

      public void execute(jakarta.jms.Session session, SessionCallback sessionCallback) throws Exception
      Throws:
      Exception
    • send

      public void send(org.apache.camel.Exchange exchange, String destinationName, MessageCreator messageCreator, boolean isTopic) throws Exception
      Throws:
      Exception
    • send

      public void send(jakarta.jms.MessageProducer producer, jakarta.jms.Message message) throws Exception
      Throws:
      Exception
    • receive

      public jakarta.jms.Message receive(String destinationName, String messageSelector, boolean isTopic, long timeout) throws Exception
      Throws:
      Exception
    • createConnection

      public jakarta.jms.Connection createConnection() throws Exception
      Throws:
      Exception
    • createSession

      public jakarta.jms.Session createSession(jakarta.jms.Connection connection) throws Exception
      Throws:
      Exception