Package org.apache.camel.support
Class BreakpointSupport
java.lang.Object
org.apache.camel.support.BreakpointSupport
- All Implemented Interfaces:
org.apache.camel.spi.Breakpoint
A support class for
Breakpoint
implementations to use as base class.
Will be in active state.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.spi.Breakpoint
org.apache.camel.spi.Breakpoint.State
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
void
afterProcess
(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition, long timeTaken) void
beforeProcess
(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition) org.apache.camel.spi.Breakpoint.State
getState()
void
onEvent
(org.apache.camel.Exchange exchange, org.apache.camel.spi.CamelEvent.ExchangeEvent event, org.apache.camel.NamedNode definition) void
suspend()
-
Constructor Details
-
BreakpointSupport
public BreakpointSupport()
-
-
Method Details
-
getState
public org.apache.camel.spi.Breakpoint.State getState()- Specified by:
getState
in interfaceorg.apache.camel.spi.Breakpoint
-
suspend
public void suspend()- Specified by:
suspend
in interfaceorg.apache.camel.spi.Breakpoint
-
activate
public void activate()- Specified by:
activate
in interfaceorg.apache.camel.spi.Breakpoint
-
beforeProcess
public void beforeProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition) - Specified by:
beforeProcess
in interfaceorg.apache.camel.spi.Breakpoint
-
afterProcess
public void afterProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition, long timeTaken) - Specified by:
afterProcess
in interfaceorg.apache.camel.spi.Breakpoint
-
onEvent
public void onEvent(org.apache.camel.Exchange exchange, org.apache.camel.spi.CamelEvent.ExchangeEvent event, org.apache.camel.NamedNode definition) - Specified by:
onEvent
in interfaceorg.apache.camel.spi.Breakpoint
-