org.ow2.jasmine.monitoring.eos.common.jms
Class JMSConnection
java.lang.Object
org.ow2.jasmine.monitoring.eos.common.jms.JMSConnection
public class JMSConnection
- extends java.lang.Object
- Author:
- poutchjp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOPIC_FACTORY
public static final java.lang.String TOPIC_FACTORY
- See Also:
- Constant Field Values
topic
protected javax.jms.Topic topic
connection
protected javax.jms.TopicConnection connection
session
protected javax.jms.TopicSession session
subscriber
protected javax.jms.TopicSubscriber subscriber
JMSConnection
public JMSConnection(EventManager evManager)
connect
public void connect(java.lang.String topicName)
throws java.lang.Exception
- Throws:
java.lang.Exception
connect
public void connect(java.lang.String topicName,
javax.jms.MessageListener listener)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendObjectMessage
public void sendObjectMessage(java.io.Serializable object)
throws java.lang.Exception
- Throws:
java.lang.Exception
disconnect
public void disconnect()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2009 OW2 Consortium. All Rights Reserved.