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 Vendor.java

/**
 * The Vendor synchronously, and in a single transaction, receives the
 * order from VendorOrderQueue and sends messages to the two Suppliers via
 * MonitorOrderQueue and StorageOrderQueue.
 * The responses are received asynchronously; when both responses come
 * back, the order confirmation message is sent back to the Retailer.

From source file nl.han.dare2date.service.AbonneeNotification.java

/**
 * Notify the other members of Dare2Date about the new member.
 */
public class AbonneeNotification implements MessageListener {
    private IJMSSubscriber subscriber;
    private ILogger logger;

From source file com.cognifide.aet.runner.distribution.RunnerMessageListener.java

/**
 * Listens to incoming runner queue messages. When message received, starts suite process.
 */
@Singleton
public class RunnerMessageListener implements MessageListener {

From source file org.exist.replication.jms.obsolete.FileSystemListener.java

/**
 * Listener for actual handling of JMS message.
 *
 * @author Dannes Wessels
 *
 */

From source file nz.net.orcon.kanban.controllers.BoardsCache.java

@Service
public class BoardsCache extends CacheImpl<Board> implements MessageListener {

    private static final Logger logger = LoggerFactory.getLogger(BoardsCache.class);

    @Autowired

From source file io.datalayer.activemq.consumer.SpringConsumer.java

public class SpringConsumer extends ConsumerBean implements MessageListener {
    private static final Log LOG = LogFactory.getLog(SpringConsumer.class);
    private JmsTemplate template;
    private String myId = "foo";
    private Destination destination;
    private Connection connection;

From source file com.fusesource.forge.jmstest.tests.AsyncProducer.java

public class AsyncProducer extends AsyncClient implements Runnable, MessageListener {

    private static final transient Log LOG = LogFactory.getLog(AsyncProducer.class);

    private long msgToSend = -1;
    private DeliveryMode deliveryMode = DeliveryMode.NON_PERSISTENT;

From source file org.openbaton.common.vnfm_sdk.amqp.AbstractVnfmSpringJMS.java

/**
 * Created by lto on 28/05/15.
 */
@SpringBootApplication
@ComponentScan(basePackages = "org.openbaton")
public abstract class AbstractVnfmSpringJMS extends AbstractVnfm implements MessageListener, JmsListenerConfigurer {

From source file ch.algotrader.event.dispatch.DistributedEventDispatcher.java

/**
* Distributed event dispatcher implementation.
*
* @author <a href="mailto:aflury@algotrader.ch">Andy Flury</a>
*/
public class DistributedEventDispatcher implements EventDispatcher, MessageListener {

From source file org.wso2.carbon.apimgt.jms.listener.utils.JMSMessageListener.java

public class JMSMessageListener implements MessageListener {

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

    // These patterns will be used to determine for which type of keys the throttling condition has occurred.
    private Pattern apiPattern = Pattern.compile("/.*/(.*):\\1_(condition_(\\d*)|default)");