Hi!
I have walked your way recently.
That is what I achieved.
build.gradle:
_
testImplementation 'org.springframework.boot:spring-boot-starter-
test'
testImplementation 'org.apache.camel:camel-test-spring-
junit5:3.11.0'
test:
_
@SpringBootTest(classes = MyApplication.
Hi,
I have tried the Junit5 / spring-boot example as well. Does not work either,
unfortunately.
The difference with the sample in github is that I am trying to run an actual
webserver in my test listening on a certain port, the example is only running a
timer router.
I have tried to modify
Hi
Take a look at the camel-spring-boot example how its unit tested
https://github.com/apache/camel-spring-boot-examples/blob/main/spring-boot/src/test/java/sample/camel/MyCamelApplicationJUnit5Test.java
You should not use @RuntWith anymore
On Fri, Sep 3, 2021 at 4:33 PM Evert-Jan de Bruin
wrot
Hello,
We are currently (happily) using Camel 3.4.4.
When trying to upgrade to any version beyond 3.5.0 (also 3.11.1), our
integration tests won't run anymore. At first it complained about the
@LocalServerPort annotation not working, but it turned out the spring boot
(including the webserver)
[You are receiving this email because you are subscribed to the user
list of one or more Apache project.]
Dear Apache enthusiast,
ApacheCon is our annual convention, featuring content related to our
many software projects. This year, it will be held on September 21-23.
Registration is free t