SEDA - Staged Event Driven Architecture - breaks donw complex application into statges using internal queues - to handover messages between routes.
DIRECT - is similar to SEDA component - but it is fully synchronized and acts as a direct call.
Ex.
from("file:\\...")
.to("seda:test")
...
from("seda:test?concurrentConsumers=20")
....
....
In this case - 20 threads will be created and the processing will be fast.
DIRECT - is similar to SEDA component - but it is fully synchronized and acts as a direct call.
Ex.
from("file:\\...")
.to("seda:test")
...
from("seda:test?concurrentConsumers=20")
....
....
In this case - 20 threads will be created and the processing will be fast.
No comments:
Post a Comment