Friday, June 5, 2015

Camel Tuning

1)  Don't use streaming on multicast or splitter


2)  Don't user  allowUseOriginalMessage if you are not going to use the orginal exchange.
scenerios when you should use it when you are going to push back the same message to queue when there is any error.

3) Increase the camel thread pool size if you are using too many splitter or multicast  in your route


<camel:camelContext id="camel-server" allowUseOriginalMessage="false">

        <camel:routeBuilder ref="testRoute"/>

        <camel:threadPoolProfile id="service-threadpool"
                           defaultProfile="true"
                           poolSize="30" maxPoolSize="100" />

    </camel:camelContext>

No comments:

Post a Comment