I found the solution for this problem by using a PooledConnectionFactory.
The following code solved the problem:
final ActiveMQConnectionFactory factory = new
ActiveMQConnectionFactory(jmsBrokerUrl);
factory.setUseAsyncSend(true);
final PooledConnectionFactory pooledConnectionFactory = new
PooledC
Hi,
if I send a message to an ActiveMQ broker directly (without camel) this is
extremly fast (<1ms). When sending messages in a camel route using the JMS
endpoint it is extremly slow (> 1 sec) every x messages.
Here is an example output of the provided test:
sending took 81ms
sending took 1081ms