Skip to content

Commit 6a7fc37

Browse files
committed
refactor(int-aws): xsd messageProducingHandlerAttributes moved into outboundChannelAdapter
1 parent a17ffbe commit 6a7fc37

File tree

1 file changed

+25
-29
lines changed

1 file changed

+25
-29
lines changed

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

Lines changed: 25 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@
334334
<xsd:complexContent>
335335
<xsd:extension base="outboundChannelAdapter">
336336
<xsd:attributeGroup ref="integration:channelAdapterAttributes"/>
337-
<xsd:attributeGroup ref="messageProducingHandlerAttributes"/>
338337
<xsd:attribute name="sns" type="xsd:string" use="required">
339338
<xsd:annotation>
340339
<xsd:documentation><![CDATA[
@@ -639,7 +638,7 @@
639638
</xsd:annotation>
640639
<xsd:complexContent>
641640
<xsd:extension base="outboundChannelAdapter">
642-
<xsd:attributeGroup ref="messageProducingHandlerAttributes"/>
641+
<xsd:attributeGroup ref="integration:channelAdapterAttributes"/>
643642
<xsd:attribute name="sqs" type="xsd:string" use="required">
644643
<xsd:annotation>
645644
<xsd:documentation><![CDATA[
@@ -786,6 +785,30 @@
786785
]]></xsd:documentation>
787786
</xsd:annotation>
788787
</xsd:attribute>
788+
<xsd:attribute name="async" type="xsd:boolean">
789+
<xsd:annotation>
790+
<xsd:documentation><![CDATA[
791+
Allow async replies. If the handler reply is a CompletableFuture Publisher,
792+
send the output when it is satisfied rather than sending the future as the result.
793+
Ignored for return types other than CompletableFuture or Publisher.
794+
Default is false.
795+
]]></xsd:documentation>
796+
</xsd:annotation>
797+
</xsd:attribute>
798+
<xsd:attribute name="output-channel" type="xsd:string">
799+
<xsd:annotation>
800+
<xsd:documentation><![CDATA[
801+
Channel to reply if async is true.
802+
]]></xsd:documentation>
803+
</xsd:annotation>
804+
</xsd:attribute>
805+
<xsd:attribute name="send-timeout" type="xsd:long">
806+
<xsd:annotation>
807+
<xsd:documentation><![CDATA[
808+
Set the timeout for sending reply Messages.
809+
]]></xsd:documentation>
810+
</xsd:annotation>
811+
</xsd:attribute>
789812
</xsd:complexType>
790813

791814
<xsd:complexType name="s3InboundChannelAdapter">
@@ -995,33 +1018,6 @@
9951018
</xsd:complexContent>
9961019
</xsd:complexType>
9971020

998-
<xsd:attributeGroup name="messageProducingHandlerAttributes">
999-
<xsd:attribute name="async" type="xsd:boolean">
1000-
<xsd:annotation>
1001-
<xsd:documentation><![CDATA[
1002-
Allow async replies. If the handler reply is a CompletableFuture Publisher,
1003-
send the output when it is satisfied rather than sending the future as the result.
1004-
Ignored for return types other than CompletableFuture or Publisher.
1005-
Default is false.
1006-
]]></xsd:documentation>
1007-
</xsd:annotation>
1008-
</xsd:attribute>
1009-
<xsd:attribute name="output-channel" type="xsd:string">
1010-
<xsd:annotation>
1011-
<xsd:documentation><![CDATA[
1012-
Channel to reply if async is true.
1013-
]]></xsd:documentation>
1014-
</xsd:annotation>
1015-
</xsd:attribute>
1016-
<xsd:attribute name="send-timeout" type="xsd:long">
1017-
<xsd:annotation>
1018-
<xsd:documentation><![CDATA[
1019-
Set the timeout for sending reply Messages.
1020-
]]></xsd:documentation>
1021-
</xsd:annotation>
1022-
</xsd:attribute>
1023-
</xsd:attributeGroup>
1024-
10251021
<xsd:simpleType name="s3CommandType">
10261022
<xsd:restriction base="xsd:token">
10271023
<xsd:enumeration value="UPLOAD"/>

0 commit comments

Comments
 (0)