Start version 6.4

* Move `whats-new` to `changes-6.2-6.3.adoc`
* Upgrade dependency to the latest (including Gradle)
* Move Spring dependencies to based on SF-6.2
* Fix some deprecations and incompatibility
This commit is contained in:
Artem Bilan
2024-05-28 20:07:35 -04:00
parent dc96ff6a2d
commit 8b2da4f996
18 changed files with 150 additions and 201 deletions

View File

@@ -1367,11 +1367,15 @@ public class JmsOutboundGateway extends AbstractReplyProducingMessageHandler
if (isSubscriptionDurable() && !isPubSubDomain()) {
throw new IllegalArgumentException("A durable subscription requires a topic (pub-sub domain)");
}
synchronized (this.lifecycleMonitor) {
this.lifecycleLock.lock();
try {
if (isSubscriptionDurable() && this.getConcurrentConsumers() != 1) {
throw new IllegalArgumentException("Only 1 concurrent consumer supported for durable subscription");
}
}
finally {
this.lifecycleLock.unlock();
}
}
public Destination getReplyDestination() {