List of usage examples for javax.jms MessageListener interface-usage
From source file org.rhq.enterprise.server.drift.DriftChangesetBean.java
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/DriftChangesetQueue"), @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"), // this is just declarative, I think it's unnecessary @ActivationConfigProperty(propertyName = "subscriptionDurability", propertyValue = "NonDurable") })
From source file org.rhq.enterprise.server.drift.DriftFileBean.java
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/DriftFileQueue"), @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"), // this is just declarative, I think it's unnecessary @ActivationConfigProperty(propertyName = "subscriptionDurability", propertyValue = "NonDurable") })
From source file org.hawkular.apm.server.jms.trace.SourceInfoCacheMDB.java
/**
* This MDB is provided to populate the SourceInfoCache with Source Information derived from the
* received trace fragments. Each clustered APM server node will receive the trace data, so each cache
* is expected to only be a local cache.
*
* Discussion regarding potential future use of a distributed cache, which would make this MDB redundant
From source file org.wso2.carbon.appfactory.eventing.jms.AFMessageListener.java
public class AFMessageListener implements MessageListener { Log log = LogFactory.getLog(AFMessageListener.class); private String subscriptionId; public AFMessageListener(String subscriptionId) { this.subscriptionId = subscriptionId;
From source file pl.psnc.synat.wrdz.zmkd.message.ObjectRequestListener.java
/** * Listens to the ZMD object information topic and notifies the {@link IntegrityWorker} whenever an object becomes * available for download. */ @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
From source file com.jmstoolkit.beans.MessageTableModel.java
/** * * @author Scott Douglass */ public class MessageTableModel extends AbstractTableModel implements MessageListener { private static final Logger LOGGER = Logger.getLogger(MessageTableModel.class.getName());
From source file biz.fstechnology.micro.server.jms.AbstractJmsService.java
/**
* TODO Type Description
*
* @author Maruyama Takayuki
* @since 2016/01/01
*/
From source file at.ac.tuwien.infosys.jcloudscale.classLoader.simple.RemoteClassProvider.java
public class RemoteClassProvider implements MessageListener, Closeable { private Logger log; private IMQWrapper mq; /** * Creates new instance of RemoteClassProvider that satisfies class dependency
From source file ru.runa.wfe.service.impl.EmailSenderBean.java
/**
* Non-blocking and transactional email sending.
*
* @since 4.2
*/
@MessageDriven(activationConfig = {
From source file io.datalayer.activemq.consumer.ConsumerBean.java
public class ConsumerBean implements MessageListener { private static final Log LOG = LogFactory.getLog(ConsumerBean.class); private final List<Message> messages = new ArrayList<Message>(); private boolean verbose; /**