org.apache.servicemix.wsn.client
Class NotificationBroker
java.lang.Object
org.apache.servicemix.wsn.client.AbstractWSAClient
org.apache.servicemix.wsn.client.NotificationBroker
public class NotificationBroker
- extends AbstractWSAClient
|
Constructor Summary |
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)
|
|
Method Summary |
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)
|
| Methods inherited from class org.apache.servicemix.wsn.client.AbstractWSAClient |
createWSA, getContext, getEndpoint, getServiceEndpoint, getWSAAddress, isJbiWrapped, request, request, resolveWSA, send, send, setContext, setEndpoint, setJbiWrapped, setServiceEndpoint |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSN_URI
public static final java.lang.String WSN_URI
- See Also:
- Constant Field Values
WSN_SERVICE
public static final java.lang.String WSN_SERVICE
- See Also:
- Constant Field Values
NOTIFICATION_BROKER
public static final javax.xml.namespace.QName NOTIFICATION_BROKER
NotificationBroker
public NotificationBroker(javax.jbi.component.ComponentContext context)
NotificationBroker
public NotificationBroker(javax.jbi.component.ComponentContext context,
java.lang.String brokerName)
NotificationBroker
public NotificationBroker(javax.jbi.component.ComponentContext context,
javax.xml.ws.wsaddressing.W3CEndpointReference endpoint)
notify
public void notify(java.lang.String topic,
java.lang.Object msg)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
subscribe
public Subscription subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer,
java.lang.String topic)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
subscribe
public Subscription subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer,
java.lang.String topic,
java.lang.String xpath)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
subscribe
public Subscription subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer,
java.lang.String topic,
java.lang.String xpath,
boolean raw)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
getCurrentMessage
public java.util.List<java.lang.Object> getCurrentMessage(java.lang.String topic)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
registerPublisher
public Publisher registerPublisher(javax.xml.ws.wsaddressing.W3CEndpointReference publisherReference,
java.lang.String topic,
boolean demand)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
getResourceProperty
public java.util.List<java.lang.Object> getResourceProperty(javax.xml.namespace.QName property)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
Copyright © 2005-2013 FuseSource. All Rights Reserved.