You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jonas Stein (JIRA)" <ji...@apache.org> on 2015/11/23 09:24:10 UTC
[jira] [Comment Edited] (CAMEL-9350) Improvement of the
JUnit-Tests, especially the property handling within a spring-boot project
[ https://issues.apache.org/jira/browse/CAMEL-9350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15021723#comment-15021723 ]
Jonas Stein edited comment on CAMEL-9350 at 11/23/15 8:23 AM:
--------------------------------------------------------------
Link to topic in camel user forum: http://camel.465427.n5.nabble.com/How-to-get-properties-working-in-camelTest-and-spring-td5774102.html
was (Author: yuncil):
Link to post in camel user forum: http://camel.465427.n5.nabble.com/How-to-get-properties-working-in-camelTest-and-spring-td5774102.html
> Improvement of the JUnit-Tests, especially the property handling within a spring-boot project
> ---------------------------------------------------------------------------------------------
>
> Key: CAMEL-9350
> URL: https://issues.apache.org/jira/browse/CAMEL-9350
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring-boot, camel-test
> Affects Versions: 2.16.0
> Environment: JDK 1.8-64bit, spring-boot 1.2.7, maven web project in Netbeans IDE on Windows 7 operating system.
> Reporter: Jonas Stein
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)