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?