INT-3657: Default MaxMessPerPoll=1 for @InboundCA
JIRA: https://jira.spring.io/browse/INT-3657 With XML/DSL, the MMPP defaults to 1 (via the SPCAFB) but @InboundChannelAdapter defaulted to -1 (infinity). Change the annotation to be consistent with the XML/DSL. Add missing schema docs for the `basePollerType`. * Fix `AbstractMethodAnnotationPostProcessor` for `maxMessagesPerPollValue` override * Change `EnableIntegrationTests#foo()` `@InboundChannelAdapter` to use `maxMessagesPerPoll = "2"` and modify appropriate test-case to be sure that `maxMessagesPerPoll` isn't overriden as it has been done in the original commit.
This commit is contained in:
committed by
Artem Bilan
parent
14a5e1f9c5
commit
29e65e68af
@@ -47,5 +47,14 @@
|
||||
See <xref linkend="tcp-events"/> for more information.
|
||||
</para>
|
||||
</section>
|
||||
<section>
|
||||
<title>@InboundChannelAdapter</title>
|
||||
<para>
|
||||
Previously, the <classname>@Poller</classname> on an inbound channel adapter defaulted
|
||||
the <code>maxMessagesPerPoll</code> attribute to <code>-1</code> (infinity). This was inconsistent
|
||||
with the XML configuration of <code><inbound-channel-adapter/></code>s, which defaults
|
||||
to 1. The annotation now defaults this attribute to 1.
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
</chapter>
|
||||
|
||||
Reference in New Issue
Block a user