Package org.apache.servicemix.client

Examples of org.apache.servicemix.client.ServiceMixClientFacade


  public static String WSN_SERVICE = "CreatePullPoint";
 
  public static QName NOTIFICATION_BROKER = new QName(WSN_URI, WSN_SERVICE);
 
  public CreatePullPoint(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));
  }
View Full Code Here


  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));
  }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.client.ServiceMixClientFacade

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.