Skip to content

Commit 05e31b9

Browse files
authored
Fix @poller Javadoc
* Fix @poller Javadoc - `receiveTimeout` was added as a property in 5.1. * More javadoc polishing. **cherry-pick to 5.5.x**
1 parent 4799c3b commit 05e31b9

File tree

1 file changed

+3
-3
lines changed
  • spring-integration-core/src/main/java/org/springframework/integration/annotation

1 file changed

+3
-3
lines changed

spring-integration-core/src/main/java/org/springframework/integration/annotation/Poller.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* for the Messaging annotations for polled endpoints. It is an analogue of the XML
2626
* {@code <poller/>} element, but provides only simple attributes. If the
2727
* {@link org.springframework.integration.scheduling.PollerMetadata} requires more options
28-
* (e.g. Transactional and other Advices) or {@code initialDelay, receiveTimeout} etc, the
28+
* (e.g. Transactional and other Advices) or {@code initialDelay} etc., the
2929
* {@link org.springframework.integration.scheduling.PollerMetadata} should be configured
3030
* as a generic bean and its bean name can be specified as the {@code value} attribute of
3131
* this annotation. In that case, the other attributes are not allowed.
@@ -87,7 +87,7 @@
8787
String cron() default "";
8888

8989
/**
90-
* @return The the bean name of default error channel
90+
* @return The bean name of default error channel
9191
* for the underlying {@code MessagePublishingErrorHandler}.
9292
* @since 4.3.3
9393
*/
@@ -97,7 +97,7 @@
9797
* Only applies to polling consumers.
9898
* @return the time the poll thread will wait after the trigger for a new message to arrive.
9999
* Defaults to 1000 (1 second).
100-
* For polled inbound channel adapters, whether or not the polling thread blocks
100+
* For polled inbound channel adapters, whether the polling thread blocks
101101
* is dependent on the message source implementation.
102102
* Can be specified as 'property placeholder', e.g. {@code ${my.poller.receiveTimeout}}.
103103
* @since 5.1

0 commit comments

Comments
 (0)