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 java.lang.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 java.util.Set<java.lang.String> probeId
subscriber
protected javax.jms.TopicSubscriber subscriber
session
protected javax.jms.TopicSession session
connection
protected javax.jms.TopicConnection 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(java.lang.String id)
stopListening
public void stopListening(java.lang.String id)
onMessage
public void onMessage(javax.jms.Message message)
- Specified by:
onMessage in interface javax.jms.MessageListener
Copyright © 2012 OW2 Consortium. All Rights Reserved.