diff --git a/bruno/updateUser.bru b/bruno/updateUser.bru
index 0f1bee9..097fdf3 100644
--- a/bruno/updateUser.bru
+++ b/bruno/updateUser.bru
@@ -5,7 +5,7 @@ meta {
}
post {
- url: http://localhost:9090/services/api/user
+ url: http://localhost:9091/services/api/user
body: json
auth: basic
}
@@ -22,7 +22,7 @@ auth:basic {
body:json {
{
- "id": 2,
- "name": "Wallie West"
- }
+ "id": 4,
+ "name": "Diana Themyscira"
+ }
}
diff --git a/conf/logback.xml b/conf/logback.xml
index c3c1afd..43014b7 100644
--- a/conf/logback.xml
+++ b/conf/logback.xml
@@ -19,9 +19,7 @@
%-5level %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n
-
-
-
+
diff --git a/conf2/logback.xml b/conf2/logback.xml
index c3c1afd..43014b7 100644
--- a/conf2/logback.xml
+++ b/conf2/logback.xml
@@ -19,9 +19,7 @@
%-5level %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n
-
-
-
+
diff --git a/pom.xml b/pom.xml
index 93fbbc5..f03c3e4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
com.example
camel-springboot-activemq6-example
- 2.1.1
+ 2.1.2
camel-springboot-activemq6-example
org.springframework.boot
@@ -15,7 +15,7 @@
UTF-8
17
17
- 4.8.3
+ 4.8.4
${project.parent.version}
3.5.19
3.0.4
diff --git a/src/main/java/com/example/sbcamel/CamelRouter.java b/src/main/java/com/example/sbcamel/CamelRouter.java
index 0f19c69..50a61c6 100644
--- a/src/main/java/com/example/sbcamel/CamelRouter.java
+++ b/src/main/java/com/example/sbcamel/CamelRouter.java
@@ -35,6 +35,7 @@ public class CamelRouter extends RouteBuilder {
@PostConstruct
private void init() {
+ org.apache.ibatis.logging.LogFactory.useSlf4jLogging();
jdbcTemplate.execute(createUserSql);
}
@@ -73,8 +74,8 @@ public class CamelRouter extends RouteBuilder {
.when(header(BeanConstants.BEAN_METHOD_NAME).isEqualTo("findUsers"))
.to("mybatis:com.example.sbcamel.mapper.UserMapper.findUsers?statementType=SelectList")
.when(header(BeanConstants.BEAN_METHOD_NAME).isEqualTo("findUser"))
- .to("mybatis:com.example.sbcamel.mapper.UserMapper.findUser?statementType=SelectOne").end().marshal()
- .json(JsonLibrary.Jackson);
+ .to("mybatis:com.example.sbcamel.mapper.UserMapper.findUser?statementType=SelectOne")
+ .end().marshal().json(JsonLibrary.Jackson);
}
}
\ No newline at end of file