@Deprecated public abstract class JMSDeliveryManager extends Object implements DeliveryManager
Modifier | Constructor and Description |
---|---|
protected |
JMSDeliveryManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Deprecated.
|
protected abstract Properties |
getInitialContextProperties(String userName,
String password)
Deprecated.
|
javax.jms.TopicConnection |
getTopicConnection(String userName)
Deprecated.
|
protected abstract javax.jms.TopicConnectionFactory |
getTopicConnectionFactory(InitialContext initialContext)
Deprecated.
|
protected abstract String |
getTopicName(String topicName)
Deprecated.
|
void |
initializeTenant()
Deprecated.
|
boolean |
isDeactivated()
Deprecated.
|
void |
publish(Message message,
String topicName,
int deliveryMode)
Deprecated.
publish an omElement to a topic
|
void |
renewSubscription(Subscription subscription)
Deprecated.
|
void |
setDeactivated(boolean deactivated)
Deprecated.
|
void |
setNotificationManager(NotificationManager notificationManager)
Deprecated.
Notification manager is used to send the notifications
|
void |
subscribe(Subscription subscription)
Deprecated.
subscribe with the subscription details.
|
void |
unSubscribe(String id)
Deprecated.
|
protected abstract Properties getInitialContextProperties(String userName, String password)
protected abstract javax.jms.TopicConnectionFactory getTopicConnectionFactory(InitialContext initialContext) throws EventBrokerException
EventBrokerException
public javax.jms.TopicConnection getTopicConnection(String userName) throws EventBrokerException
EventBrokerException
public void subscribe(Subscription subscription) throws EventBrokerException
DeliveryManager
subscribe
in interface DeliveryManager
EventBrokerException
public void setNotificationManager(NotificationManager notificationManager)
DeliveryManager
setNotificationManager
in interface DeliveryManager
public void publish(Message message, String topicName, int deliveryMode) throws EventBrokerException
DeliveryManager
publish
in interface DeliveryManager
EventBrokerException
public void unSubscribe(String id) throws EventBrokerException
unSubscribe
in interface DeliveryManager
EventBrokerException
public void renewSubscription(Subscription subscription) throws EventBrokerException
renewSubscription
in interface DeliveryManager
EventBrokerException
public void cleanUp() throws EventBrokerException
cleanUp
in interface DeliveryManager
EventBrokerException
public boolean isDeactivated()
public void setDeactivated(boolean deactivated)
public void initializeTenant() throws EventBrokerException
initializeTenant
in interface DeliveryManager
EventBrokerException
Copyright © 2019 WSO2. All rights reserved.