Skip to content

Commit

Permalink
Add includeMetadata option for timer
Browse files Browse the repository at this point in the history
  • Loading branch information
mmajerni authored and christophd committed May 7, 2024
1 parent 25581e9 commit a839d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JDBCInsert.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
public class JDBCInsert extends RouteBuilder {
@Override
public void configure() throws Exception {
from("timer://sql-insert?period=10000")
from("timer://sql-insert?period=10000&includeMetadata=true")
.setBody(simple("INSERT INTO test (data) VALUES ('message #${exchangeProperty.CamelTimerCounter}')"))
.to("jdbc:default")
.to("log:info");
Expand Down

0 comments on commit a839d4b

Please sign in to comment.