Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. It doesn't provide sessions pooling and consumers/producers cache (1) (star).
  2. 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) (star) - Some JMS vendors provide integrated session pooling in ConnectionFactory. In this case using CachingConnectionFactory is not necessary. Please refer vendor documentation to clear it.

...