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, 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(ComponentContext context)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
NotificationBroker
public NotificationBroker(ComponentContext context,
String brokerName)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
NotificationBroker
public NotificationBroker(JBIContainer container)
throws JBIException,
javax.xml.bind.JAXBException
- Throws:
JBIException
javax.xml.bind.JAXBException
NotificationBroker
public NotificationBroker(JBIContainer container,
String brokerName)
throws JBIException,
javax.xml.bind.JAXBException
- Throws:
JBIException
javax.xml.bind.JAXBException
NotificationBroker
public NotificationBroker(ServiceMixClient client)
NotificationBroker
public NotificationBroker(ServiceMixClient client,
String brokerName)
notify
public void notify(String topic,
Object msg)
throws JBIException
- Throws:
JBIException
subscribe
public Subscription subscribe(EndpointReferenceType consumer,
String topic)
throws JBIException
- Throws:
JBIException
subscribe
public Subscription subscribe(EndpointReferenceType consumer,
String topic,
String xpath)
throws JBIException
- Throws:
JBIException
subscribe
public Subscription subscribe(EndpointReferenceType consumer,
String topic,
String xpath,
boolean raw)
throws JBIException
- Throws:
JBIException
getCurrentMessage
public List<Object> getCurrentMessage(String topic)
throws JBIException
- Throws:
JBIException
registerPublisher
public Publisher registerPublisher(EndpointReferenceType publisherReference,
String topic,
boolean demand)
throws JBIException
- Throws:
JBIException
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.