Skip to content

Commit

Permalink
Merge pull request apache#125 from bsmolicek/unmute-exceptions
Browse files Browse the repository at this point in the history
Refactor unmuting exceptions for spring-jdbc example
  • Loading branch information
bsmolicek committed Mar 21, 2024
2 parents f061777 + 697b0bb commit c6df98c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Expand Up @@ -29,6 +29,7 @@ public class SpringJdbcRoute extends RouteBuilder {
@Override
public void configure() throws Exception {

restConfiguration().endpointProperty("muteException", "false");
rest()
.post("/horses")
.to("direct:persist")
Expand Down
2 changes: 0 additions & 2 deletions spring-jdbc/src/main/resources/application.properties
Expand Up @@ -28,5 +28,3 @@ spring.datasource.username=postgres
spring.datasource.password=password
#init schema.sql
spring.sql.init.mode=always

camel.component.servlet.mute-exception=false

0 comments on commit c6df98c

Please sign in to comment.