|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NotificationBrokerController
The controller of the Broker into the bus
| Method Summary | |
|---|---|
void |
destroyRegistration()
Destroy the registration of the publisher on the broker |
String |
getCurrentMessage()
Get the current message for the consumer on the broker |
NotificationConsumer |
getNotificationConsumer()
Get the notificationConsumer |
NotificationProducer |
getNotificationProducer()
Get the notificationProducer |
Transformer |
getTransformer()
|
boolean |
isBrokeredNotification(javax.jbi.messaging.MessageExchange messageExchange)
Check if the JBI exchange is a brokered notification exchange |
boolean |
isInternalNotification(String address)
Check if the address is the default cdk address |
void |
notify(Document document,
String topic,
com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType subscriptionReference)
notify from the publisher to the broker |
void |
processRegisterPublisherResponse(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisherResponse response)
Persist publisher registration ref and notification consumer ref in notification context |
void |
registerPublisher()
register the publisher on the broker |
void |
renew()
Manage the renew on a subscription from the consumer |
void |
setNotificationBrokerReferenceAddress(String notificationBrokerReferenceAddress)
Set the notificationBrokerReferenceAddress |
void |
setPublisherRegistrationManagerReferenceAddress(String publisherRegistrationManagerReferenceAddress)
Set the publisherRegistrationManagerReferenceAddress |
void |
setSubscriptionManagerReferenceAddress(String subscriptionManagerReferenceAddress)
Set the subscriptionManagerReferenceAddress |
void |
subscribe()
subscribe the consumer on the broker |
void |
unsubscribe()
unsubscribe the consumer on the broker |
| Method Detail |
|---|
void registerPublisher()
throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
javax.jbi.messaging.MessagingException,
PEtALSCDKException,
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
javax.jbi.messaging.MessagingException
PEtALSCDKException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
void processRegisterPublisherResponse(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisherResponse response)
throws PEtALSCDKException
response -
PEtALSCDKException
void subscribe()
throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
javax.jbi.messaging.MessagingException,
PEtALSCDKException,
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
javax.jbi.messaging.MessagingException
PEtALSCDKException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
void unsubscribe()
throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
javax.jbi.messaging.MessagingException,
PEtALSCDKException,
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
javax.jbi.messaging.MessagingException
PEtALSCDKException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
String getCurrentMessage()
throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
javax.jbi.messaging.MessagingException,
PEtALSCDKException,
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
javax.jbi.messaging.MessagingException
PEtALSCDKException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
void destroyRegistration()
throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException,
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
javax.jbi.messaging.MessagingException,
PEtALSCDKException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
javax.jbi.messaging.MessagingException
PEtALSCDKException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
void notify(Document document,
String topic,
com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType subscriptionReference)
throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
javax.jbi.messaging.MessagingException,
PEtALSCDKException,
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
org.ow2.easywsdl.wsdl.api.WSDLException,
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
document - The message document payload into the notificationtopic - The topic into the notificationsubscriptionReference -
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
javax.jbi.messaging.MessagingException
PEtALSCDKException
org.ow2.easywsdl.wsdl.api.WSDLException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingExceptionvoid renew()
boolean isBrokeredNotification(javax.jbi.messaging.MessageExchange messageExchange)
messageExchange - the JBI exchange
void setNotificationBrokerReferenceAddress(String notificationBrokerReferenceAddress)
notificationBrokerReferenceAddress - the notificationBrokerReferenceAddress to setvoid setPublisherRegistrationManagerReferenceAddress(String publisherRegistrationManagerReferenceAddress)
publisherRegistrationManagerReferenceAddress - the publisherRegistrationManagerReferenceAddress to setvoid setSubscriptionManagerReferenceAddress(String subscriptionManagerReferenceAddress)
subscriptionManagerReferenceAddress - the subscriptionManagerReferenceAddress to setNotificationProducer getNotificationProducer()
NotificationConsumer getNotificationConsumer()
boolean isInternalNotification(String address)
address - The address to check
Transformer getTransformer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||