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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user