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 |
createJaxbClient, createJaxbClient, createWSA, getClient, getEndpoint, getResolver, getWSAAddress, request, resolveWSA, send, setClient, setEndpoint, setResolver |
| 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)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
NotificationBroker
public NotificationBroker(javax.jbi.component.ComponentContext context,
String brokerName)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
NotificationBroker
public NotificationBroker(org.apache.servicemix.jbi.container.JBIContainer container)
throws javax.jbi.JBIException,
javax.xml.bind.JAXBException
- Throws:
javax.jbi.JBIException
javax.xml.bind.JAXBException
NotificationBroker
public NotificationBroker(org.apache.servicemix.jbi.container.JBIContainer container,
String brokerName)
throws javax.jbi.JBIException,
javax.xml.bind.JAXBException
- Throws:
javax.jbi.JBIException
javax.xml.bind.JAXBException
NotificationBroker
public NotificationBroker(org.apache.servicemix.client.ServiceMixClient client)
NotificationBroker
public NotificationBroker(org.apache.servicemix.client.ServiceMixClient client,
String brokerName)
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
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.