public interface DeliveryManager
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
Clear subscription details
|
void |
initializeTenant()
Initialize tenant
|
void |
publish(Message message,
String topicName,
int deliveryMode)
publish an omElement to a topic
|
void |
renewSubscription(Subscription subscription)
Renew subscription details
|
void |
setNotificationManager(NotificationManager notificationManager)
Notification manager is used to send the notifications
|
void |
subscribe(Subscription subscription)
subscribe with the subscription details.
|
void |
unSubscribe(String id)
un-subscribe the subscription
|
void subscribe(Subscription subscription) throws EventBrokerException
subscription - subscriptionEventBrokerExceptionvoid setNotificationManager(NotificationManager notificationManager)
notificationManager - notification manager objectvoid publish(Message message, String topicName, int deliveryMode) throws EventBrokerException
message - message objecttopicName - topic namedeliveryMode - delivery modeEventBrokerExceptionvoid unSubscribe(String id) throws EventBrokerException
id - subscription idEventBrokerExceptionvoid cleanUp()
throws EventBrokerException
EventBrokerExceptionvoid renewSubscription(Subscription subscription) throws EventBrokerException
subscription - subscriptionEventBrokerExceptionvoid initializeTenant()
throws EventBrokerException
EventBrokerExceptionCopyright © 2017 WSO2. All rights reserved.