Its always a good idea to use pooled connection factory with a JMS
broker. It improves performance and avoids creating and stopping
connections all the time which eats up resources as well.
Also reusing sessions/consumers can speedup as well, there is the
cacheLevelName option on the JMS component
In general, you should use the PooledConnectionFactory. The connections are
created upfront which saves time. The connections are also reused which is
more resource friendly.
Best,
Christian
-
Software Integration Specialist
Apache Member
V.P. Apache Camel | Apache Camel PMC Mem