THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-test-blueprint</artifactId> <version>2.10</version> <scope>test</scope> </dependency> |
Setting timeout when getting CamelContext
Available as of Camel 2.13.0/2.12.1/2.11.2
CamelBlueprintTestSupport
waits 30 sec for Camel Context to be ready by default, now you can override this value in two ways:
- Globally, by setting
org.apache.camel.test.blueprint.camelContextCreationTimeout
system property. - Locally for each test, by overriding getCamelContextCreationTimeout method.
Adding services on startup
...