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
| 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 String WSN_URI
- See Also:
- Constant Field Values
WSN_SERVICE
public static final String WSN_SERVICE
- See Also:
- Constant Field Values
NOTIFICATION_BROKER
public static final QName NOTIFICATION_BROKER
NotificationBroker
public NotificationBroker(javax.jbi.component.ComponentContext context)
NotificationBroker
public NotificationBroker(javax.jbi.component.ComponentContext context,
String brokerName)
NotificationBroker
public NotificationBroker(javax.jbi.component.ComponentContext context,
javax.xml.ws.wsaddressing.W3CEndpointReference endpoint)
notify
public void notify(String topic,
Object msg)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
subscribe
public Subscription subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer,
String topic)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
subscribe
public Subscription subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer,
String topic,
String xpath)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
subscribe
public Subscription subscribe(javax.xml.ws.wsaddressing.W3CEndpointReference consumer,
String topic,
String xpath,
boolean raw)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
getCurrentMessage
public List<Object> getCurrentMessage(String topic)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
registerPublisher
public Publisher registerPublisher(javax.xml.ws.wsaddressing.W3CEndpointReference publisherReference,
String topic,
boolean demand)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
getResourceProperty
public List<Object> getResourceProperty(QName property)
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.