org.ow2.jasmine.monitoring.eos.probemanager.service
Class JasmineListener
java.lang.Object
org.ow2.jasmine.monitoring.eos.probemanager.service.JasmineListener
- All Implemented Interfaces:
- javax.jms.MessageListener
public class JasmineListener
- extends Object
- implements javax.jms.MessageListener
Listen to the "jasmine" topic where all probe results are sent.
- Author:
- durieuxp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.ow2.util.log.Log logger
probeId
protected Set<String> probeId
subscriber
protected javax.jms.MessageConsumer subscriber
session
protected javax.jms.Session session
connection
protected javax.jms.Connection connection
topic
protected javax.jms.Topic topic
producer
protected ProbeTopicProducer producer
JasmineListener
public JasmineListener(ProbeTopicProducer producer)
connect
protected void connect()
disconnect
protected void disconnect()
startListening
public void startListening(String id)
stopListening
public void stopListening(String id)
onMessage
public void onMessage(javax.jms.Message message)
- Specified by:
onMessage in interface javax.jms.MessageListener
Copyright © 2013 OW2 Consortium. All Rights Reserved.