Class DefaultServiceInvoker

All Implemented Interfaces:
MetricConstants, MoleculerLifecycle
Direct Known Subclasses:
CircuitBreaker

public class DefaultServiceInvoker extends ServiceInvoker implements MetricConstants
Default service invoker with retry logic.
  • Field Details

    • writeErrorsToLog

      protected boolean writeErrorsToLog
      Write exceptions into the log file
    • maxCallLevel

      protected int maxCallLevel
      Max call level (for nested calls)
    • serviceRegistry

      protected ServiceRegistry serviceRegistry
    • eventbus

      protected Eventbus eventbus
    • uidGenerator

      protected UidGenerator uidGenerator
    • metrics

      protected Metrics metrics
    • retryLogic

      protected Predicate<Throwable> retryLogic
  • Constructor Details

    • DefaultServiceInvoker

      public DefaultServiceInvoker()
  • Method Details