List of usage examples for javax.jms MessageListener interface-usage
From source file com.npower.dm.multiplexor.Multiplexor.java
/** * @author Zhao wanxiang * @version $Revision: 1.5 $ $Date: 2008/12/25 04:31:19 $ */ public class Multiplexor extends AbstractDisablePlugIn implements PlugIn, MessageListener {
From source file dk.netarkivet.archive.distribute.ArchiveMessageHandler.java
/**
* This default message handler shields of all unimplemented methods from the
* ArchiveMessageVisitor interface.
*
* Classes should not implement ArchiveMessageVisitor but extend this class.
*
From source file org.wso2.carbon.appfactory.stratos.listeners.TenantStratosSubscriptionMessageListener.java
/** * Listens to topic "subscribe_tenant_in_stratos" in the Message Broker and when a new message arrived, executes the * onMessage method. AUTO_ACKNOWLEDGE is used. * This class is set as the Message Listener in TenantStratosSubscriptionDurableSubscriber class. */ public class TenantStratosSubscriptionMessageListener implements MessageListener {
From source file org.wso2.carbon.appfactory.stratos.listeners.StratosSubscriptionMessageListener.java
/** * Listens to topic in the Message Broker and when a new message arrived (for tenant creation), executes the * onMessage method. CLIENT_ACKNOWLEDGE is used. * This class is set as the Message Listener in StratosSubscriptionDurableSubscriber class. */ public class StratosSubscriptionMessageListener implements MessageListener {
From source file de.fraunhofer.iosb.ivct.IVCTcommander.java
/**
* IVCTcommander takes user input strings, creates and sends messages to the JMS bus,
* listens to the JMS bus and forwards the messages via callbacks to the user
* interface.
*
* @author Johannes Mulder (Fraunhofer IOSB)
From source file TransactedTalk.java
public class TransactedTalk implements javax.jms.MessageListener { private static final String DEFAULT_BROKER_NAME = "tcp://localhost:61616"; private static final String DEFAULT_PASSWORD = "password"; private static final int MESSAGE_LIFESPAN = 1800000; // milliseconds (30 minutes) private javax.jms.Connection connect = null;
From source file gov.nih.nci.cabig.caaers.esb.client.impl.CtmsCaaersMessageConsumer.java
/**
* This is a listener class which listens for messages on the ctmsCaaersRecvQueue "ctms-caaers.inputQueue".
* The JMS infrastructure is provided by ServiceMix.
* The ctms-caaers-sa needs to be deployed on ServiceMix.
*
* The Message received will be processed and the Response will be sent to the ctmsCaaersResponseQueue "ctms-caaers.outputQueue"
From source file com.oneops.inductor.Listener.java
/**
* Listener - consumes from queue by cloud to execute local or
* remote puppet modules or chef recipes for work or action orders
* <p>
* onMessage is mapped to a Spring ListenerContainer.messageListener
*/
From source file TopicReplier.java
public class TopicReplier implements javax.jms.MessageListener { private static final String APP_TOPIC = "jms.samples.request"; private static final String DEFAULT_BROKER_NAME = "tcp://localhost:61616"; private static final String DEFAULT_USER_NAME = "SampleReplier"; private static final String DEFAULT_PASSWORD = "password"; private static final String DEFAULT_MODE = "uppercase";
From source file org.springframework.jms.listener.adapter.MessageListenerAdapter.java
/**
* Message listener adapter that delegates the handling of messages to target
* listener methods via reflection, with flexible message type conversion.
* Allows listener methods to operate on message content types, completely
* independent from the JMS API.
*