INT-3328: Add EnablePublisher Annotation
JIRA: https://jira.spring.io/browse/INT-3328 INT-3328: Polishing
This commit is contained in:
committed by
Gary Russell
parent
a8c8a4fed5
commit
23a26ca38e
@@ -345,12 +345,20 @@
|
||||
components to be declared once only, in the parent context.
|
||||
</para>
|
||||
<para>
|
||||
The <code>@IntegrationComponentScan</code> annotation has also been introduced to permit classpath
|
||||
The <code>@IntegrationComponentScan</code> annotation has also been introduced to permit classpath
|
||||
scanning. This annotation plays a similar role as the standard Spring Framework <code>@ComponentScan</code> annotation,
|
||||
but it is restricted just to Spring Integration specific components and annotations,
|
||||
which aren't reachable by the standard Spring Framework component scan mechanism.
|
||||
For example <xref linkend="messaging-gateway-annotation"/>.
|
||||
</para>
|
||||
</para>
|
||||
<para>
|
||||
The <code>@EnablePublisher</code> annotation has been introduced to register a
|
||||
<classname>PublisherAnnotationBeanPostProcessor</classname> bean and configure the <code>default-publisher-channel</code>
|
||||
for those <classname>@Publisher</classname> annotations which are provided without a <code>channel</code> attribute.
|
||||
If more than one <code>@EnablePublisher</code> annotation is found, they must all have the same value
|
||||
for the default channel.
|
||||
See <xref linkend="publisher-annotation"/> for more information.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
</chapter>
|
||||
|
||||
@@ -65,6 +65,14 @@
|
||||
>Spring Boot - AutoConfigure</ulink>.
|
||||
</para>
|
||||
</section>
|
||||
<section id="4.0-enable-publisher">
|
||||
<title>@EnablePublisher</title>
|
||||
<para>
|
||||
The <code>@EnablePublisher</code> annotation has been added, to allow the specification of a
|
||||
<code>default-publisher-channel</code> for <classname>@Publisher</classname> annotations.
|
||||
See <xref linkend="enable-integration"/> for more information.
|
||||
</para>
|
||||
</section>
|
||||
<section id="4.0-redis-cms">
|
||||
<title>Redis Channel Message Stores</title>
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user