Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: 5.0.7
-
Fix Version/s: 5.0.8
-
Component/s: JMS Support
-
Labels:
Description
The XML parser sets the default to no-wait; the DSL leaves it at the default (infinite wait).
They should be consistent, but I don't think no-wait is correct for the reasons discussed at the end of the SO answer. Infinite wait is incorrect too. Maybe 1000?
On second thought - perhaps no-wait (-1) if we have a CachingConnectionFactory, with cacheConsumers otherwise 1000?