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:
committed by
Artem Bilan
parent
cfc698447e
commit
7e071c0839
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user