79167094

Date: 2024-11-07 15:23:42
Score: 1.5
Natty:
Report link

The solutions ended up being that I could pass an object of ThreadPoolTaskExecuter to the JmsListenerContainerFactory with the following parameter settings:

executor.setCorePoolSize(1);
executor.setMaxPoolSize(1);
executor.setQueueCapacity(100);
executor.initialize();

This has the desired behaviour.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Effi T