Examples of DuccBlastGuardPredicate


Examples of org.apache.uima.ducc.common.config.DuccBlastGuardPredicate

          ORTracer ort1 = new ORTracer(route+":error");
          ORTracer ort2 = new ORTracer(route+":begin");
          ORTracer ort3 = new ORTracer(route+":done:orchestratorp");
          ORTracer ort4 = new ORTracer(route+":done:to");
         
          final Predicate blastFilter = new DuccBlastGuardPredicate(duccLogger);
         
        onException(Exception.class).handled(true).process(ort1);
            from("timer:orchestratorStateDumpTimer?fixedRate=true&period=" + statePublishRate)
                  // This route uses a filter to prevent sudden bursts of messages which
                // may flood DUCC daemons causing chaos. The filter disposes any event
View Full Code Here

Examples of org.apache.uima.ducc.common.config.DuccBlastGuardPredicate

          ORTracer ort1 = new ORTracer(route+":error");
          ORTracer ort2 = new ORTracer(route+":begin");
          ORTracer ort3 = new ORTracer(route+":done:orchestratorp");
          ORTracer ort4 = new ORTracer(route+":done:to");
         
          final Predicate blastFilter = new DuccBlastGuardPredicate(duccLogger);
         
        onException(Exception.class).handled(true).process(ort1);
            from("timer:orchestratorAbbreviatedStateDumpTimer?fixedRate=true&period=" + statePublishRate)
              // This route uses a filter to prevent sudden bursts of messages which
              // may flood DUCC daemons causing chaos. The filter disposes any event
View Full Code Here

Examples of org.apache.uima.ducc.common.config.DuccBlastGuardPredicate

   */
  private RouteBuilder routeBuilderForNodeMetricsPost(final NodeAgent agent,
          final String targetEndpointToReceiveNodeMetricsUpdate, final int nodeMetricsPublishRate)
          throws Exception {
    final Processor nmp = nodeMetricsProcessor(agent);
    final Predicate blastFilter = new DuccBlastGuardPredicate(agent.logger);
    final Processor cp = new ConfirmProcessor();
    return new RouteBuilder() {
      public void configure() {
        onException(Exception.class).handled(true).process(new ErrorProcessor());
        from("timer:nodeMetricsTimer?fixedRate=true&period=" + nodeMetricsPublishRate)
View Full Code Here

Examples of org.apache.uima.ducc.common.config.DuccBlastGuardPredicate

    final Processor nmp = nodeInventoryProcessor(agent);
    return new RouteBuilder() {
      public void configure() {
        final Predicate bodyNotNull = body().isNotNull();

        final Predicate blastGuard = new DuccBlastGuardPredicate(agent.logger);
        onException(Exception.class).maximumRedeliveries(0).handled(true)
                .process(new ErrorProcessor());

        from("timer:nodeInventoryTimer?fixedRate=true&period=" + nodeInventoryPublishRate)
                .routeId("NodeInventoryPostRoute")
View Full Code Here

Examples of org.apache.uima.ducc.common.config.DuccBlastGuardPredicate

      new ProcessManagerStateProcessor(pm);
   
    return new RouteBuilder() {
          public void configure() {
          String methodName = "configure";
          final Predicate blastGuard = new DuccBlastGuardPredicate(pm.logger);

          logger.trace(methodName, null,"timer:pmStateDumpTimer?fixedRate=true&period=" + statePublishRate);
          logger.trace(methodName, null,"endpoint=" + targetEndpointToReceiveProcessManagerStateUpdate);
            from("timer:pmStateDumpTimer?fixedRate=true&period=" + statePublishRate)
              // This route uses a filter to prevent sudden bursts of messages which
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.