Re: Http Request Url, Body & Header

2016-04-09 Thread Andreas Gebhardt
Try this * in your `log4.properties`: log4j.logger.org.apache.http=DEBUG * or if you use Camel with Spring Boot in your `application.properties`: logging.level.org.apache.http=DEBUG Am 09.04.2016 um 11:39 schrieb Debraj Manna: Yeah that is what I am looking for. But I did not find

Re: Camel Properties Spring Boot Unit test not found

2016-03-26 Thread Andreas Gebhardt
Instead of annotate your test class with @RunWith(SpringJUnit4ClassRunner.class) annotate with @RunWith(CamelSpringJUnit4ClassRunner.class) which is the appropriate JUnit runner. See also [1]. You also need to add this dependency: Gradle: 'org.apache.camel:camel-test-spring:2.16.2'

Re: Camel Properties Spring Boot Unit test not found

2016-03-26 Thread Andreas Gebhardt
But I found out that: @Value("${myProperty}") private String filePath; @Override public void configure() throws Exception { String route = "file:"+ filePath + "/?noop=true\""; from(route) // FILE PATH FROM PROPERTIES instead of

Re: Camel Properties Spring Boot Unit test not found

2016-03-26 Thread Andreas Gebhardt
In [1] they mention only *.properties files - may you give a try. A related problem is discussed here [2] '@TestPropertySource' ... [1] https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config-profile-specific-properties