...
- It doesn't provide sessions pooling and consumers/producers cache
(1).
- Default JMS message consumer is single threaded. It means that only one thread will get messages from the queue or topic and pass them to further processing.
Both aspects are critical for enterprise applications and their implementation is not an easy task. Is there any solution? Yes: Spring JMS functionality and CXF Features. Let discuss them in detail.
(1) - Some JMS vendors provide integrated session pooling in ConnectionFactory. In this case using CachingConnectionFactory is not necessary. Please refer vendor documentation to clear it.
...