Examples of DuccEventDispatcher


Examples of org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher

     
      //  optionally configures Camel Context for JMS. Checks the 'agentRequestEndpoint' to
      //  to determine type of transport. If the the endpoint starts with "activemq:", a
      //  special ActiveMQ component will be activated to enable JMS transport
     
      DuccEventDispatcher eventDispatcher =
        transport.duccEventDispatcher(common.managedProcessStateUpdateEndpoint, camelContext);
     
     
      ManagedUimaService service =
            new ManagedUimaService(common.saxonJarPath,common.dd2SpringXslPath, serviceAdapter(eventDispatcher,common.managedServiceEndpoint), camelContext);
View Full Code Here

Examples of org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher

      }
    }
  }
  public DuccEventDispatcher duccEventDispatcher(DuccLogger logger,String requestEndpoint,CamelContext context) throws Exception {
    configureJMSTransport(logger, requestEndpoint, context);
    return new DuccEventDispatcher(context, requestEndpoint);
  }
View Full Code Here

Examples of org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher

    configureJMSTransport(logger, requestEndpoint, context);
    return new DuccEventDispatcher(context, requestEndpoint);
  }
  public DuccEventDispatcher duccEventDispatcher(String requestEndpoint,CamelContext context) throws Exception {
      configureJMSTransport(requestEndpoint, context);
      return new DuccEventDispatcher(context, requestEndpoint);
  }
View Full Code Here

Examples of org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher

   
    return ctx;
  }
  @Bean
  public DuccEventDispatcher duccEventDispatcher() {
    return new DuccEventDispatcher(common.camelContext());
  }
View Full Code Here

Examples of org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher

   * @throws Exception
   */
  @Bean
  public ProcessManagerComponent processManager() throws Exception {
        CamelContext camelContext = common.camelContext();
    DuccEventDispatcher eventDispatcher = processManagerTransport.duccEventDispatcher(common.agentRequestEndpoint, camelContext);
    logger.info("processManager()",null, "PM publishes state update to Agents on endpoint:"+common.agentRequestEndpoint);
    ProcessManagerComponent pm = new ProcessManagerComponent(camelContext, eventDispatcher);
        //  Instantiate delegate listener to receive incoming messages.
        ProcessManagerEventListener delegateListener = this.processManagerDelegateListener(pm);
        //  Inject a dispatcher into the listener in case it needs to send
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.