差異處
這裏顯示兩個版本的差異處。
java:apache_camel:aggregator:helloworld [2019/03/17 20:54] tony 建立 |
java:apache_camel:aggregator:helloworld [2023/06/25 09:48] |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== Camel - Aggregator Hello World ====== | ||
- | ===== Introduction ===== | ||
- | Camel Aggregator提供開發人員能夠將大量訊息合成一個的功能。假設你的系統會接受外來通知,並將內容寫進資料庫中;一次連線寫一筆資料會比較快,還是透過一次連線寫入五筆資料快呢? 正常來說,一次連線寫入五筆同屬性資料會是比較快的。它與[[java:apache_camel:throttler:helloworld|Throttler]]的最大區別在於,Throttler限制了client的請求,而Aggreator則是收集起來一次請求。因此,如果使用Aggreator,你的程式必須要有對應的處理方式。 | ||
- | |||
- | ===== Reference ===== | ||
- | * [[http://camel.apache.org/aggregator.html|Camel - Aggregator]] | ||
- | |||
- | ===== ===== | ||
- | ---- | ||
- | \\ | ||
- | ~~DISQUS~~ |