RE: JdbcAggregationRepository is not permanently?

2022-04-08 Thread Reto Peter
Hi Karen I actually need INSERT INTO (interchangeID, messageID) The question was if the AGGREGATE method can save the relation between the incoming MESSAGES(files) and the produced AGGREGATE (INTERCHANGE) inside the database without any hassle. With the aggregation repo that would be t

Re: JdbcAggregationRepository is not permanently?

2022-04-08 Thread Karen Lease
Hi, To store the aggregated results, you need to create a separate table in your database. Then you can add something like the following statement to your route after the aggregation: .to("sql:insert into messages (doctype, messageID) values (:#doctype, :#messageID)"); The values of the name