Example usage for javax.jms MessageListener interface-usage

List of usage examples for javax.jms MessageListener interface-usage

Introduction

In this page you can find the example usage for javax.jms MessageListener interface-usage.

Usage

From source file samples.SpringJmsConsumer.java

public class SpringJmsConsumer implements MessageListener {

    private JmsTemplate jmsTemplate;

    public void setJmsTemplate(JmsTemplate jmsTemplate) {
        this.jmsTemplate = jmsTemplate;

From source file samples.jms.LoggingMessageListener.java

/**
 * A simple implementation of {@link MessageListener} that logs 
 * the text of any received {@link TextMessage}.
 */
public class LoggingMessageListener implements MessageListener {

From source file ProducerAndConsumerTool.java

/**
 * A simple tool for producing and consuming messages
 * 
 * 
 */
public class ProducerAndConsumerTool extends ConsumerTool implements MessageListener {

From source file de.adorsys.jmspojo.JMSAbstractMessageListener.java

public abstract class JMSAbstractMessageListener<T> implements MessageListener {

    private static final JMSJacksonMapper OBJECT_MAPPER = new JMSJacksonMapper(new ObjectMapper());
    private JMSMessageListenerServiceAdapter<T> adapter;

    public JMSAbstractMessageListener() {

From source file eu.planets_project.tb.impl.system.batch.listener.BatchExperimentListenerLongTimeout.java

/**
 * A MessageDriven Bean for receiving tickets of currently (externally) processed
 * workflows and polls in a given period of time for updates
 * updates can include: (partially) updating experiment data, metadata as percentage of completion , etc.
 * but at least must inform that a workflow execution terminated or timed-out
 * 

From source file eu.planets_project.tb.impl.system.batch.listener.BatchExperimentListenerShortTimeout.java

/**
 * A MessageDriven Bean for receiving tickets of currently (externally) processed
 * workflows and polls in a given period of time for updates
 * updates can include: (partially) updating experiment data, metadata as percentage of completion , etc.
 * but at least must inform that a workflow execution terminated or timed-out
 * 

From source file org.apache.stratos.adc.topology.mgt.subscriber.TopologyListener.java

public class TopologyListener implements MessageListener {

    private static final Log log = LogFactory.getLog(TopologyListener.class);

    @SuppressWarnings("unchecked")
    public void onMessage(Message message) {

From source file example.topic.Subscriber.java

/**
 * @author <a href="http://www.christianposta.com/blog">Christian Posta</a>
 */
public class Subscriber implements MessageListener {
    private static final String BROKER_URL = "tcp://localhost:61616";

From source file org.powertac.samplebroker.core.BrokerMessageReceiver.java

/**
 * Receives incoming jms messages for the broker
 * @author Nguyen Nguyen, John Collins
 */
@Service
public class BrokerMessageReceiver implements MessageListener {

From source file org.calrissian.mango.jms.stream.JmsFileSenderListener.java

@Deprecated
public class JmsFileSenderListener extends AbstractJmsFileTransferSupport implements MessageListener {

    private TaskExecutor taskExecutor;

    public TaskExecutor getTaskExecutor() {