INT-625 initial commit of namespace support for 'task-executor' on the <channel/> element

This commit is contained in:
Mark Fisher
2009-07-03 07:50:41 +00:00
parent 22543dba6e
commit bf25807969
2 changed files with 36 additions and 3 deletions

View File

@@ -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>