INT-625 initial commit of namespace support for 'task-executor' on the <channel/> element
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
<xsd:element name="channel">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Defines a Point-to-Point MessageChannel.
|
||||
Defines a Point-to-Point MessageChannel.
|
||||
</xsd:documentation>
|
||||
<xsd:appinfo>
|
||||
<tool:annotation>
|
||||
@@ -66,6 +66,21 @@
|
||||
<xsd:element name="interceptors" type="channelInterceptorsType"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="task-executor" type="xsd:string">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation><![CDATA[
|
||||
Provide a TaskExecutor to use when dispatching Messages to this channel's subscribers. This is
|
||||
mutually exclusive with any of the queue sub-elements. Also, when using a TaskExecutor, keep in
|
||||
mind that any transaction active for the sender will NOT propagate to the handler invocation
|
||||
since the TaskExecutor dispatches to the handler on a separate Thread.
|
||||
]]></xsd:documentation>
|
||||
<xsd:appinfo>
|
||||
<tool:annotation kind="ref">
|
||||
<tool:expected-type type="org.springframework.core.task.TaskExecutor" />
|
||||
</tool:annotation>
|
||||
</xsd:appinfo>
|
||||
</xsd:annotation>
|
||||
</xsd:attribute>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
|
||||
Reference in New Issue
Block a user