public abstract class AmqpTopicConnector extends Object implements TopicConnector
| Constructor and Description |
|---|
AmqpTopicConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Establish a connection to the message broker.
|
void |
create()
Create the connector client
|
void |
disconnect()
Disconnect from the message broker.
|
String |
getServerURI()
Return service URI
|
javax.jms.Topic |
lookupTopic(String topicName) |
javax.jms.TopicSession |
newSession()
Provides a new topic session.
|
protected abstract void |
reconnect() |
public void create()
TopicConnectorcreate in interface TopicConnectorpublic String getServerURI()
TopicConnectorgetServerURI in interface TopicConnectorpublic void connect()
TopicConnectorconnect in interface TopicConnectorpublic void disconnect()
TopicConnectordisconnect in interface TopicConnectorpublic javax.jms.TopicSession newSession()
throws Exception
javax.jms.JMSException - if unable to create a topic sessionExceptionpublic javax.jms.Topic lookupTopic(String topicName)
protected abstract void reconnect()
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.