Exemplo n.º 1
0
 public CxfBeanDestination(
     CxfBeanComponent cxfBeanComponent,
     Bus bus,
     ConduitInitiator conduitInitiator,
     EndpointInfo endpointInfo)
     throws IOException {
   super(cxfBeanComponent.getCamelContext(), bus, conduitInitiator, endpointInfo);
   this.cxfBeanComponent = cxfBeanComponent;
 }
Exemplo n.º 2
0
  @Override
  public void activate() {
    if (LOG.isDebugEnabled()) {
      LOG.debug("Activating CxfBeanDestination {}", getCamelDestinationUri());
    }

    endpoint = cxfBeanComponent.getEndpoint(getCamelDestinationUri());

    if (endpoint == null) {
      LOG.error("Failed to find endpoint " + getCamelDestinationUri());
      return;
    }

    endpoint.setProcessor(this);
  }