public class NotificationBroker extends AbstractWSAClient
| Modifier and Type | Field and Description |
|---|---|
static javax.xml.namespace.QName |
NOTIFICATION_BROKER |
static java.lang.String |
WSN_SERVICE |
static java.lang.String |
WSN_URI |
| Constructor and Description |
|---|
NotificationBroker(javax.jbi.component.ComponentContext context) |
NotificationBroker(javax.jbi.component.ComponentContext context,
java.lang.String brokerName) |
NotificationBroker(javax.jbi.component.ComponentContext context,
javax.xml.ws.wsaddressing.W3CEndpointReference endpoint) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Object> |
getCurrentMessage(java.lang.String topic) |
java.util.List<java.lang.Object> |
getResourceProperty(javax.xml.namespace.QName property) |
void |
notify(java.lang.String topic,
java.lang.Object msg) |
Publisher |
registerPublisher(javax.xml.ws.wsaddressing.W3CEndpointReference publisherReference,
java.lang.String topic,
boolean demand) |
Subscription |
subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer,
java.lang.String topic) |
Subscription |
subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer,
java.lang.String topic,
java.lang.String xpath) |
Subscription |
subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer,
java.lang.String topic,
java.lang.String xpath,
boolean raw) |
createWSA, getContext, getEndpoint, getServiceEndpoint, getWSAAddress, isJbiWrapped, request, request, resolveWSA, send, send, setContext, setEndpoint, setJbiWrapped, setServiceEndpointpublic static final java.lang.String WSN_URI
public static final java.lang.String WSN_SERVICE
public static final javax.xml.namespace.QName NOTIFICATION_BROKER
public NotificationBroker(javax.jbi.component.ComponentContext context)
public NotificationBroker(javax.jbi.component.ComponentContext context,
java.lang.String brokerName)
public NotificationBroker(javax.jbi.component.ComponentContext context,
javax.xml.ws.wsaddressing.W3CEndpointReference endpoint)
public void notify(java.lang.String topic,
java.lang.Object msg)
throws javax.jbi.JBIException
javax.jbi.JBIExceptionpublic Subscription subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer, java.lang.String topic) throws javax.jbi.JBIException
javax.jbi.JBIExceptionpublic Subscription subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer, java.lang.String topic, java.lang.String xpath) throws javax.jbi.JBIException
javax.jbi.JBIExceptionpublic Subscription subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer, java.lang.String topic, java.lang.String xpath, boolean raw) throws javax.jbi.JBIException
javax.jbi.JBIExceptionpublic java.util.List<java.lang.Object> getCurrentMessage(java.lang.String topic)
throws javax.jbi.JBIException
javax.jbi.JBIExceptionpublic Publisher registerPublisher(javax.xml.ws.wsaddressing.W3CEndpointReference publisherReference, java.lang.String topic, boolean demand) throws javax.jbi.JBIException
javax.jbi.JBIExceptionpublic java.util.List<java.lang.Object> getResourceProperty(javax.xml.namespace.QName property)
throws javax.jbi.JBIException
javax.jbi.JBIExceptionCopyright © 2005-2016 FuseSource. All Rights Reserved.