GH-3030 Modify InputBindingLifecycle phase

Resolves #3030
This commit is contained in:
Oleg Zhurakousky
2024-12-11 13:17:38 +01:00
parent 2f9be858d7
commit aa2b309e66

View File

@@ -21,6 +21,7 @@ import java.util.Collection;
import java.util.Map;
import org.springframework.cloud.stream.binder.Binding;
import org.springframework.context.SmartLifecycle;
import org.springframework.util.CollectionUtils;
/**
@@ -49,7 +50,7 @@ public class InputBindingLifecycle extends AbstractBindingLifecycle {
*/
@Override
public int getPhase() {
return Integer.MAX_VALUE - 1000;
return SmartLifecycle.DEFAULT_PHASE - 2048;
}
@Override