public class CamelRouteActionBuilder extends AbstractTestActionBuilder<DelegatingTestAction<AbstractCamelRouteAction>>
action| Constructor and Description |
|---|
CamelRouteActionBuilder()
Constructor using action field.
|
| Modifier and Type | Method and Description |
|---|---|
CamelRouteActionBuilder |
context(org.apache.camel.model.ModelCamelContext camelContext)
Sets the Camel context to use.
|
CamelRouteActionBuilder |
context(String camelContext)
Sets the Camel context to use.
|
CamelControlBusActionBuilder |
controlBus()
Execute control bus Camel operations.
|
CamelRouteActionBuilder |
create(org.apache.camel.builder.RouteBuilder routeBuilder)
Creates new Camel routes in route builder.
|
void |
remove(String... routes)
Remove these Camel routes.
|
void |
start(String... routes)
Start these Camel routes.
|
void |
stop(String... routes)
Stop these Camel routes.
|
CamelRouteActionBuilder |
withApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Sets the Spring bean application context.
|
actor, build, description, execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNamepublic CamelRouteActionBuilder()
public CamelRouteActionBuilder context(String camelContext)
camelContext - public CamelRouteActionBuilder context(org.apache.camel.model.ModelCamelContext camelContext)
camelContext - public CamelControlBusActionBuilder controlBus()
public CamelRouteActionBuilder create(org.apache.camel.builder.RouteBuilder routeBuilder)
routeBuilder - public void start(String... routes)
public void stop(String... routes)
public void remove(String... routes)
public CamelRouteActionBuilder withApplicationContext(org.springframework.context.ApplicationContext applicationContext)
applicationContext - Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.