public static String WSN_SERVICE = "NotificationBroker";
public static QName NOTIFICATION_BROKER = new QName(WSN_URI, WSN_SERVICE);
public NotificationBroker(ComponentContext context) throws JAXBException {
ServiceMixClientFacade client = new ServiceMixClientFacade(context);
client.setMarshaler(new JAXBMarshaler(JAXBContext.newInstance(Subscribe.class, RegisterPublisher.class)));
setClient(client);
setResolver(new ServiceNameEndpointResolver(NOTIFICATION_BROKER));
}