GH-2106 re-enable '.destination' and made destination channel PubSub
Resolves #2106
This commit is contained in:
@@ -85,7 +85,7 @@ public class TestChannelBinderProvisioner
|
||||
SubscribableChannel destination = this.provisionedDestinations
|
||||
.get(destinationName);
|
||||
if (destination == null) {
|
||||
destination = pubSub ? new PublishSubscribeChannel() : new DirectChannel();
|
||||
destination = new PublishSubscribeChannel();
|
||||
((AbstractMessageChannel) destination).setBeanName(destinationName);
|
||||
((AbstractMessageChannel) destination).setComponentName(destinationName);
|
||||
this.provisionedDestinations.put(destinationName, destination);
|
||||
|
||||
Reference in New Issue
Block a user