Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
2.16.0
-
None
-
None
-
JDK 1.8-64bit, spring-boot 1.2.7, maven web project in Netbeans IDE on Windows 7 operating system.
-
Unknown
Description
Currently it is a bit complicated to test webservices, created with camel and spring boot. The main problem is to run up the whole spring/camel context with its configuration. I would like to use some annotations in the test-class and be sure that camel recognized all its routes and properties, also the possibility to use the CamelContextLifecycle would be great.
The annotation @PropertySource should also work in JUnit-Tests to inject every property sucessfully into the
"two curly braces"someProperty"two curly braces" syntax.
Last but not least, I rather would be able to use the method whenAnyExchangeReceived of the class MockEndpoint with an exchange object as a parameter, instead of a processor.