You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JIRA: https://jira.spring.io/browse/INT-4474
* Populate proper `Integer.MIN_VALUE` phase for non-`PollingConsumer`s
in the `ConsumerEndpointFactoryBean`
**Cherry-pick to 5.0.x and 4.3.x**
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/java/org/springframework/integration/config/ConsumerEndpointFactoryBean.java
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2017 the original author or authors.
2
+
* Copyright 2002-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -57,6 +57,13 @@
57
57
58
58
59
59
/**
60
+
* The {@link FactoryBean} implementation for {@link AbstractEndpoint} population.
61
+
* Controls all the necessary properties and lifecycle.
62
+
* According the provided {@link MessageChannel} implementation populates
63
+
* a {@link PollingConsumer} for the {@link PollableChannel},
64
+
* an {@link EventDrivenConsumer} for the {@link SubscribableChannel}
65
+
* and {@link ReactiveStreamsConsumer} for all other channel implementations.
66
+
*
60
67
* @author Mark Fisher
61
68
* @author Oleg Zhurakousky
62
69
* @author Josh Long
@@ -310,9 +317,15 @@ else if (channel instanceof PollableChannel) {
310
317
this.endpoint.setAutoStartup(this.autoStartup);
311
318
}
312
319
intphase = this.phase;
313
-
if (!this.isPhaseSet && this.endpointinstanceofPollingConsumer) {
Copy file name to clipboardExpand all lines: spring-integration-core/src/test/java/org/springframework/integration/config/xml/ServiceActivatorParserTests.java
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2016 the original author or authors.
2
+
* Copyright 2002-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments