Add getBindingServiceProperties method to AbstractMessageChannelBinder

This commit is contained in:
Oleg Zhurakousky
2023-03-27 09:39:03 +02:00
parent 4b09e921ca
commit 86df59777b

View File

@@ -1020,6 +1020,15 @@ public abstract class AbstractMessageChannelBinder<C extends ConsumerProperties,
}
}
private BindingServiceProperties getBindingServiceProperties() {
try {
return this.getApplicationContext().getBean(BindingServiceProperties.class);
}
catch (Exception e) {
return null;
}
}
protected static class ErrorInfrastructure {
private final SubscribableChannel errorChannel;