Class CamelDebugger
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.impl.debugger.DefaultDebugger
org.qubership.integration.platform.engine.service.debugger.CamelDebugger
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.Debugger,org.apache.camel.spi.HasCamelContext,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
@Component
@Scope("prototype")
public class CamelDebugger
extends org.apache.camel.impl.debugger.DefaultDebugger
-
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDINGFields inherited from interface org.apache.camel.spi.Debugger
FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionCamelDebugger(ServerConfiguration serverConfiguration, TracingService tracingService, CheckpointSessionService checkpointSessionService, MetricsService metricsService, ChainLogger chainLogger, Optional<SessionsKafkaReportingService> sessionsKafkaReportingService, SessionsService sessionsService, PayloadExtractor payloadExtractor, VariablesService variablesService, CamelDebuggerPropertiesService propertiesService, Optional<CamelExchangeContextPropagation> exchangeContextPropagation) -
Method Summary
Modifier and TypeMethodDescriptionbooleanafterProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition, long timeTaken) booleanbeforeProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition) voidfinishCheckpointSession(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, ExecutionStatus executionStatus, long duration) getRelatedProperties(org.apache.camel.Exchange exchange) voidlogAfterStepFinished(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String stepName, String elementId, ChainElementType elementType) booleanonEvent(org.apache.camel.Exchange exchange, org.apache.camel.spi.CamelEvent.ExchangeEvent event) Methods inherited from class org.apache.camel.impl.debugger.DefaultDebugger
activateAllBreakpoints, addBreakpoint, addBreakpoint, addSingleStepBreakpoint, addSingleStepBreakpoint, doInit, doStart, doStop, getBreakpoints, getCamelContext, onAfterProcess, onBeforeProcess, onEvent, removeBreakpoint, setCamelContext, startSingleStepExchange, stopSingleStepExchange, suspendAllBreakpoints, toStringMethods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
CamelDebugger
@Autowired public CamelDebugger(ServerConfiguration serverConfiguration, TracingService tracingService, CheckpointSessionService checkpointSessionService, MetricsService metricsService, ChainLogger chainLogger, Optional<SessionsKafkaReportingService> sessionsKafkaReportingService, SessionsService sessionsService, PayloadExtractor payloadExtractor, VariablesService variablesService, CamelDebuggerPropertiesService propertiesService, Optional<CamelExchangeContextPropagation> exchangeContextPropagation)
-
-
Method Details
-
onEvent
public boolean onEvent(org.apache.camel.Exchange exchange, org.apache.camel.spi.CamelEvent.ExchangeEvent event) - Specified by:
onEventin interfaceorg.apache.camel.spi.Debugger- Overrides:
onEventin classorg.apache.camel.impl.debugger.DefaultDebugger
-
beforeProcess
public boolean beforeProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition) - Specified by:
beforeProcessin interfaceorg.apache.camel.spi.Debugger- Overrides:
beforeProcessin classorg.apache.camel.impl.debugger.DefaultDebugger
-
afterProcess
public boolean afterProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition, long timeTaken) - Specified by:
afterProcessin interfaceorg.apache.camel.spi.Debugger- Overrides:
afterProcessin classorg.apache.camel.impl.debugger.DefaultDebugger
-
logAfterStepFinished
public void logAfterStepFinished(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String stepName, String elementId, ChainElementType elementType) -
finishCheckpointSession
public void finishCheckpointSession(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, ExecutionStatus executionStatus, long duration) -
getRelatedProperties
-
getRelatedProperties
-