Make configureContainer public for AdapterSpecs

configureContainer is already public in the GatewaySpec, therefore
making it also public in the AdapterSpecs.

We came across this problem when we were testing M7.
This commit is contained in:
Björn Häuser
2017-10-07 23:30:21 +02:00
committed by Artem Bilan
parent cfc698447e
commit 7e071c0839
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ public class AmqpInboundChannelAdapterDMLCSpec
super(new DirectMessageListenerContainerSpec(listenerContainer));
}
AmqpInboundChannelAdapterDMLCSpec configureContainer(Consumer<DirectMessageListenerContainerSpec> configurer) {
public AmqpInboundChannelAdapterDMLCSpec configureContainer(Consumer<DirectMessageListenerContainerSpec> configurer) {
configurer.accept((DirectMessageListenerContainerSpec) this.listenerContainerSpec);
return this;
}

View File

@@ -36,7 +36,7 @@ public class AmqpInboundChannelAdapterSMLCSpec
super(new SimpleMessageListenerContainerSpec(listenerContainer));
}
AmqpInboundChannelAdapterSMLCSpec configureContainer(Consumer<SimpleMessageListenerContainerSpec> configurer) {
public AmqpInboundChannelAdapterSMLCSpec configureContainer(Consumer<SimpleMessageListenerContainerSpec> configurer) {
configurer.accept((SimpleMessageListenerContainerSpec) this.listenerContainerSpec);
return this;
}