Skip to content

Commit e4e801a

Browse files
committed
refactor(int-aws): xsd inboundChannelAdapterAttributes attribute group
1 parent 6a7fc37 commit e4e801a

File tree

1 file changed

+29
-47
lines changed

1 file changed

+29
-47
lines changed

int-aws/src/main/resources/org/springframework/schema/integration/aws/spring-integration-aws.xsd

Lines changed: 29 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
]]></xsd:documentation>
252252
</xsd:annotation>
253253
<xsd:complexType>
254-
<xsd:attributeGroup ref="integration:channelAdapterAttributes"/>
254+
<xsd:attributeGroup ref="inboundChannelAdapterAttributes"/>
255255
<xsd:attribute name="sns" type="xsd:string" use="required">
256256
<xsd:annotation>
257257
<xsd:documentation><![CDATA[
@@ -272,16 +272,6 @@
272272
]]></xsd:documentation>
273273
</xsd:annotation>
274274
</xsd:attribute>
275-
<xsd:attribute name="send-timeout" type="xsd:long">
276-
<xsd:annotation>
277-
<xsd:documentation><![CDATA[
278-
Maximum amount of time in milliseconds to wait when sending
279-
a message to the channel if such channel may block.
280-
For example, a Queue Channel can block until space
281-
is available if its maximum capacity has been reached.
282-
]]></xsd:documentation>
283-
</xsd:annotation>
284-
</xsd:attribute>
285275
<xsd:attribute name="payload-expression" type="xsd:string">
286276
<xsd:annotation>
287277
<xsd:documentation><![CDATA[
@@ -297,19 +287,6 @@
297287
]]></xsd:documentation>
298288
</xsd:annotation>
299289
</xsd:attribute>
300-
<xsd:attribute name="error-channel" type="xsd:string">
301-
<xsd:annotation>
302-
<xsd:appinfo>
303-
<tool:annotation kind="ref">
304-
<tool:expected-type type="org.springframework.messaging.MessageChannel"/>
305-
</tool:annotation>
306-
</xsd:appinfo>
307-
<xsd:documentation><![CDATA[
308-
The MessagingGateway's 'error-channel' where to send an ErrorMessage in case
309-
of Exception is caused from original message flow.
310-
]]></xsd:documentation>
311-
</xsd:annotation>
312-
</xsd:attribute>
313290
<xsd:attribute name="handle-notification-status" type="xsd:boolean">
314291
<xsd:annotation>
315292
<xsd:documentation><![CDATA[
@@ -444,7 +421,7 @@
444421
]]></xsd:documentation>
445422
</xsd:annotation>
446423
<xsd:complexType>
447-
<xsd:attributeGroup ref="integration:channelAdapterAttributes"/>
424+
<xsd:attributeGroup ref="inboundChannelAdapterAttributes"/>
448425
<xsd:attribute name="sqs" type="xsd:string" use="required">
449426
<xsd:annotation>
450427
<xsd:documentation><![CDATA[
@@ -464,28 +441,6 @@
464441
]]></xsd:documentation>
465442
</xsd:annotation>
466443
</xsd:attribute>
467-
<xsd:attribute name="error-channel" type="xsd:string">
468-
<xsd:annotation>
469-
<xsd:documentation><![CDATA[
470-
Message Channel to which error Messages should be sent.
471-
]]></xsd:documentation>
472-
<xsd:appinfo>
473-
<tool:annotation kind="ref">
474-
<tool:expected-type type="org.springframework.messaging.MessageChannel"/>
475-
</tool:annotation>
476-
</xsd:appinfo>
477-
</xsd:annotation>
478-
</xsd:attribute>
479-
<xsd:attribute name="send-timeout" type="xsd:long">
480-
<xsd:annotation>
481-
<xsd:documentation><![CDATA[
482-
Maximum amount of time in milliseconds to wait when sending a message
483-
to the channel if such channel may block.
484-
For example, a Queue Channel can block until space is available
485-
if its maximum capacity has been reached.
486-
]]></xsd:documentation>
487-
</xsd:annotation>
488-
</xsd:attribute>
489444
<xsd:attribute name="components-task-executor" type="xsd:string">
490445
<xsd:annotation>
491446
<xsd:documentation><![CDATA[
@@ -1018,6 +973,33 @@
1018973
</xsd:complexContent>
1019974
</xsd:complexType>
1020975

976+
<xsd:attributeGroup name="inboundChannelAdapterAttributes">
977+
<xsd:attributeGroup ref="integration:channelAdapterAttributes"/>
978+
<xsd:attribute name="send-timeout" type="xsd:long">
979+
<xsd:annotation>
980+
<xsd:documentation><![CDATA[
981+
Maximum amount of time in milliseconds to wait when sending a message
982+
to the channel if such channel may block.
983+
For example, a Queue Channel can block until space is available
984+
if its maximum capacity has been reached.
985+
May be overridden for individual messages.
986+
]]></xsd:documentation>
987+
</xsd:annotation>
988+
</xsd:attribute>
989+
<xsd:attribute name="error-channel" type="xsd:string">
990+
<xsd:annotation>
991+
<xsd:documentation><![CDATA[
992+
Message Channel to which error Messages should be sent.
993+
]]></xsd:documentation>
994+
<xsd:appinfo>
995+
<tool:annotation kind="ref">
996+
<tool:expected-type type="org.springframework.messaging.MessageChannel"/>
997+
</tool:annotation>
998+
</xsd:appinfo>
999+
</xsd:annotation>
1000+
</xsd:attribute>
1001+
</xsd:attributeGroup>
1002+
10211003
<xsd:simpleType name="s3CommandType">
10221004
<xsd:restriction base="xsd:token">
10231005
<xsd:enumeration value="UPLOAD"/>

0 commit comments

Comments
 (0)