@@ -147,32 +147,32 @@ To install and test, assuming that you have previously run the "Camel Route with
147
147
148
148
1 . Cd idempotent
149
149
2 . Execute mvn camel: run
150
- 3 ) Start H2 console and connect to the DB using the following parameters
150
+ 3 . Start H2 console and connect to the DB using the following parameters
151
151
Driver class = org.h2.Driver
152
152
JDBC URL : jdbc:h2:tcp://localhost/~ /idempotentReport
153
153
User name : sa
154
154
Password :
155
- 4 ) Enter the following request to verify that no records have been inserted
155
+ 4 . Enter the following request to verify that no records have been inserted
156
156
SELECT * FROM CAMEL_MESSAGEPROCESSED
157
- 5 ) Copy the following file
157
+ 5 . Copy the following file
158
158
cp cp ../data/csv-one-record.txt datainsert/
159
- 6 ) The exchange is not filters out and camel logs that
159
+ 6 . The exchange is not filters out and camel logs that
160
160
%%% File receive -> csv-one-record.txt
161
- 7 ) Shutdown the camel route and restart
161
+ 7. Shutdown the camel route and restart
162
162
Verify after copying the file that the camel route will not display the following message
163
163
%%% File receive -> csv-one-record.txt
164
164
165
165
# Aggregator example
166
166
167
- 1) Cd aggregator
168
- 2) Start H2 console and connect to the DB using the following parameters
167
+ 1 . Cd aggregator
168
+ 2 . Start H2 console and connect to the DB using the following parameters
169
169
Driver class = org.h2.Driver
170
170
JDBC URL : jdbc:h2:tcp://localhost/~ /aggregationReport
171
171
User name : sa
172
172
Password :
173
- 3) Create the DB using script in directory sql/init.sql
174
- 4) Execute mvn camel:run
175
- 5) Shutdown camel when 2-3 exchanges have been aggregated
173
+ 3 . Create the DB using script in directory sql/init.sql
174
+ 4 . Execute mvn camel: run
175
+ 5 . Shutdown camel when 2-3 exchanges have been aggregated
176
176
177
177
>>> (file-to-queue) from(timer://demo?period=2000&repeatCount=15) --> ref:users method: getUser <<< Pattern:InOnly, Headers:{firedTime=Wed Nov 23 11:38:51 CET 2011, breadcrumbId=ID-biker-chm-local-53796-1322044729997-0-2}, BodyType:null, Body:[Body is null]
178
178
>>> (file-to-queue) ref:users method: getUser --> aggregate <<< Pattern:InOnly, Headers:{firedTime=Wed Nov 23 11:38:51 CET 2011, breadcrumbId=ID-biker-chm-local-53796-1322044729997-0-2, id=FUSE}, BodyType:String, Body:Charles,
0 commit comments