This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new 28b0af4 chore(it): rename method handler to reflect event type
28b0af4 is described below
commit 28b0af405352a237c0845d9e4a9676fdc5326acd
Author: lburgazzoli <[email protected]>
AuthorDate: Wed Aug 7 19:25:35 2019 +0200
chore(it): rename method handler to reflect event type
---
.../org/apache/camel/quarkus/component/core/cdi/CamelApplication.java | 4 ++--
.../java/org/apache/camel/quarkus/component/core/cdi/CamelTest.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/integration-tests/core-cdi/src/main/java/org/apache/camel/quarkus/component/core/cdi/CamelApplication.java
b/integration-tests/core-cdi/src/main/java/org/apache/camel/quarkus/component/core/cdi/CamelApplication.java
index fe97ddc..4e3303b 100644
---
a/integration-tests/core-cdi/src/main/java/org/apache/camel/quarkus/component/core/cdi/CamelApplication.java
+++
b/integration-tests/core-cdi/src/main/java/org/apache/camel/quarkus/component/core/cdi/CamelApplication.java
@@ -37,8 +37,8 @@ public class CamelApplication {
@Inject
CamelRuntime runtime;
- public void initializing(@Observes StartingEvent event) {
- runtime.addProperty("initializing", "true");
+ public void starting(@Observes StartingEvent event) {
+ runtime.addProperty("starting", "true");
addRoute("src/main/resources/hello.xml");
}
diff --git
a/integration-tests/core-cdi/src/test/java/org/apache/camel/quarkus/component/core/cdi/CamelTest.java
b/integration-tests/core-cdi/src/test/java/org/apache/camel/quarkus/component/core/cdi/CamelTest.java
index c17624c..f9832ec 100644
---
a/integration-tests/core-cdi/src/test/java/org/apache/camel/quarkus/component/core/cdi/CamelTest.java
+++
b/integration-tests/core-cdi/src/test/java/org/apache/camel/quarkus/component/core/cdi/CamelTest.java
@@ -32,7 +32,7 @@ public class CamelTest {
@Test
public void testProperties() {
-
RestAssured.when().get("/test/property/initializing").then().body(is("true"));
+
RestAssured.when().get("/test/property/starting").then().body(is("true"));
RestAssured.when().get("/test/property/started").then().body(is("true"));
}