List of usage examples for javax.jms ExceptionListener interface-usage
From source file org.apache.falcon.messaging.JMSMessageConsumer.java
/** * Subscribes to the falcon topic for handling retries and alerts. */ public class JMSMessageConsumer implements MessageListener, ExceptionListener { private static final Logger LOG = LoggerFactory.getLogger(JMSMessageConsumer.class);
From source file org.apache.axis2.transport.jms.MockEchoEndpoint.java
@Name("mock") public class MockEchoEndpoint extends InOutEndpointSupport implements InOutEndpoint, ExceptionListener { static Log log = LogFactory.getLog(MockEchoEndpoint.class); private @Transient Connection connection; private @Transient Connection replyConnection;
From source file org.apache.activemq.jms.pool.ConnectionPool.java
/**
* Holds a real JMS connection along with the session pools associated with it.
* <p/>
* Instances of this class are shared amongst one or more PooledConnection object and must
* track the session objects that are loaned out for cleanup on close as well as ensuring
* that the temporary destinations of the managed Connection are purged when all references
From source file org.apache.synapse.transport.jms.JMSConnectionFactory.java
/**
* Encapsulate a JMS Connection factory definition within an Axis2.xml
* <p/>
* More than one JMS connection factory could be defined within an Axis2 XML
* specifying the JMSListener as the transportReceiver.
* <p/>
From source file com.chinamobile.bcbsp.comm.ConsumerTool.java
/** * Consumer tool for receiving messages from Message Queue. */ public class ConsumerTool extends Thread implements MessageListener, ExceptionListener { /** class logger. */ private static final Log LOG = LogFactory.getLog(ConsumerTool.class);
From source file com.mirth.connect.connectors.jms.JmsClient.java
/** * Represents the client connection to a JMS broker, used by both the JMS receiver and dispatcher * connectors */ public class JmsClient implements ExceptionListener { private Connector connector;
From source file org.apache.servicemix.jbi.cluster.requestor.ActiveMQJmsRequestorPool.java
public class ActiveMQJmsRequestorPool extends AbstractPollingRequestorPool implements ExceptionListener { /** * List of consumers currently waiting for messages */ final protected List<ActiveMQRequestor> polling = new LinkedList<ActiveMQRequestor>();
From source file nl.nn.adapterframework.unmanaged.SpringJmsConnector.java
/**
* Configure a Spring JMS Container from a {@link nl.nn.adapterframework.jms.PushingJmsListener}.
*
* <p>
* This implementation expects to receive an instance of
* org.springframework.jms.listener.DefaultMessageListenerContainer
From source file org.springframework.jms.connection.SingleConnectionFactory.java
/**
* A JMS ConnectionFactory adapter that returns the same Connection
* from all {@link #createConnection()} calls, and ignores calls to
* {@link javax.jms.Connection#close()}. According to the JMS Connection
* model, this is perfectly thread-safe (in contrast to e.g. JDBC). The
* shared Connection can be automatically recovered in case of an Exception.
From source file com.datatorrent.lib.io.jms.AbstractJMSInputOperator.java
/**
* This is the base implementation of a JMS input operator.<br/>
* Subclasses must implement the method that converts JMS messages into tuples for emission.
* <p/>
* The operator acts as a listener for JMS messages. When there is a message available in the message bus,
* {@link #onMessage(Message)} is called which buffers the message into a holding buffer. This is asynchronous.<br/>