Class SpringJMSTemplateOutputAdapter

java.lang.Object
com.espertech.esperio.jms.JMSOutputAdapter
com.espertech.esperio.jms.SpringJMSTemplateOutputAdapter
All Implemented Interfaces:
com.espertech.esper.runtime.client.util.Adapter, com.espertech.esper.runtime.client.util.AdapterSPI

public class SpringJMSTemplateOutputAdapter extends JMSOutputAdapter
Output adapter for sending runtime events out into the JMS world using Spring JMS templates.
  • Constructor Details

    • SpringJMSTemplateOutputAdapter

      public SpringJMSTemplateOutputAdapter()
  • Method Details

    • getJmsTemplate

      public org.springframework.jms.core.JmsTemplate getJmsTemplate()
      Returns the jms template.
      Returns:
      Spring JMS template
    • setJmsTemplate

      public void setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
      Sets the Spring JMS template
      Parameters:
      jmsTemplate - to set
    • send

      public void send(com.espertech.esper.common.client.EventBean eventBean, JMSMessageMarshaller jmsMessageMarshaller) throws com.espertech.esper.common.client.EPException
      Description copied from class: JMSOutputAdapter
      Abstract send methods for marshalling and sending an event of to JMS care.
      Specified by:
      send in class JMSOutputAdapter
      Parameters:
      eventBean - is the event
      jmsMessageMarshaller - is the marshaller
      Throws:
      com.espertech.esper.common.client.EPException - when the send failed