Skip to content

Commit a17ffbe

Browse files
committed
feat: sqs-outbound-channel-adapter xsd schema
1 parent b969f9a commit a17ffbe

File tree

1 file changed

+127
-0
lines changed

1 file changed

+127
-0
lines changed

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

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,133 @@
630630
</xsd:complexType>
631631
</xsd:element>
632632

633+
<xsd:element name="sqs-outbound-channel-adapter">
634+
<xsd:complexType>
635+
<xsd:annotation>
636+
<xsd:documentation><![CDATA[
637+
Defines an outbound SQS Channel Adapter for sending messages to queues.
638+
]]></xsd:documentation>
639+
</xsd:annotation>
640+
<xsd:complexContent>
641+
<xsd:extension base="outboundChannelAdapter">
642+
<xsd:attributeGroup ref="messageProducingHandlerAttributes"/>
643+
<xsd:attribute name="sqs" type="xsd:string" use="required">
644+
<xsd:annotation>
645+
<xsd:documentation><![CDATA[
646+
The 'software.amazon.awssdk.services.sqs.SqsAsyncClient' bean reference.
647+
]]></xsd:documentation>
648+
<xsd:appinfo>
649+
<tool:annotation kind="ref">
650+
<tool:expected-type type="software.amazon.awssdk.services.sqs.SqsAsyncClient"/>
651+
</tool:annotation>
652+
</xsd:appinfo>
653+
</xsd:annotation>
654+
</xsd:attribute>
655+
<xsd:attribute name="queue" type="xsd:string">
656+
<xsd:annotation>
657+
<xsd:documentation><![CDATA[
658+
The Amazon queue name or URL.
659+
Mutually exclusive with 'queue-expression'.
660+
This attribute isn't mandatory and the queue can be specified in message headers
661+
with the 'AwsHeaders.QUEUE' header name.
662+
Mutually exclusive with 'queue-expression'.
663+
]]></xsd:documentation>
664+
</xsd:annotation>
665+
</xsd:attribute>
666+
<xsd:attribute name="queue-expression" type="xsd:string">
667+
<xsd:annotation>
668+
<xsd:documentation><![CDATA[
669+
A SpEL expression that resolves to an Amazon queue or its URL.
670+
The 'requestMessage' is the root object for evaluation context.
671+
Mutually exclusive with 'queue'.
672+
This attribute isn't mandatory and the queue can be specified in message headers with
673+
the 'AwsHeaders.QUEUE' header name.
674+
Mutually exclusive with 'queue'.
675+
]]></xsd:documentation>
676+
</xsd:annotation>
677+
</xsd:attribute>
678+
<xsd:attribute name="delay" type="xsd:int">
679+
<xsd:annotation>
680+
<xsd:documentation><![CDATA[
681+
The length of time, in seconds, for which to delay a specific message.
682+
Valid values: 0 to 900. Maximum: 15 minutes.
683+
Messages with a positive delay value become available for processing after the delay
684+
period is finished.
685+
If not specified, the default value for the queue applies.
686+
Mutually exclusive with 'delay-expression'.
687+
]]></xsd:documentation>
688+
</xsd:annotation>
689+
</xsd:attribute>
690+
<xsd:attribute name="delay-expression" type="xsd:string">
691+
<xsd:annotation>
692+
<xsd:documentation><![CDATA[
693+
A SpEL expression that resolves to the length of time, in seconds,
694+
for which to delay a specific message.
695+
Mutually exclusive with 'delay'.
696+
]]></xsd:documentation>
697+
</xsd:annotation>
698+
</xsd:attribute>
699+
<xsd:attribute name="message-group-id" type="xsd:string">
700+
<xsd:annotation>
701+
<xsd:documentation><![CDATA[
702+
This parameter applies only to FIFO (first-in-first-out) queues.
703+
The tag that specifies that a message belongs to a specific message group.
704+
Messages that belong to the same message group are processed in a FIFO manner
705+
(however, messages in different message groups might be processed out of order).
706+
To interleave multiple ordered streams within a single queue, use 'MessageGroupId'
707+
values (for example, session data for multiple users).
708+
In this scenario, multiple readers can process the queue, but the session data
709+
of each user is processed in a FIFO fashion.
710+
Mutually exclusive with 'message-group-id-expression'.
711+
]]></xsd:documentation>
712+
</xsd:annotation>
713+
</xsd:attribute>
714+
<xsd:attribute name="message-group-id-expression" type="xsd:string">
715+
<xsd:annotation>
716+
<xsd:documentation><![CDATA[
717+
A SpEL expression that resolves a 'MessageGroupId' token at runtime.
718+
Mutually exclusive with 'message-group-id'.
719+
]]></xsd:documentation>
720+
</xsd:annotation>
721+
</xsd:attribute>
722+
<xsd:attribute name="message-deduplication-id" type="xsd:string">
723+
<xsd:annotation>
724+
<xsd:documentation><![CDATA[
725+
This parameter applies only to FIFO (first-in-first-out) queues.
726+
The token used for deduplication of sent messages.
727+
If a message with a particular 'MessageDeduplicationId' is sent successfully,
728+
any messages sent with the same 'MessageDeduplicationId' are accepted successfully
729+
but aren't delivered during the 5-minute deduplication interval.
730+
Mutually exclusive with 'message-deduplication-id-expression'.
731+
]]></xsd:documentation>
732+
</xsd:annotation>
733+
</xsd:attribute>
734+
<xsd:attribute name="message-deduplication-id-expression" type="xsd:string">
735+
<xsd:annotation>
736+
<xsd:documentation><![CDATA[
737+
A SpEL expression that resolves a 'MessageDeduplicationId' token at runtime.
738+
Mutually exclusive with 'message-deduplication-id'.
739+
]]></xsd:documentation>
740+
</xsd:annotation>
741+
</xsd:attribute>
742+
<xsd:attribute name="message-converter">
743+
<xsd:annotation>
744+
<xsd:documentation><![CDATA[
745+
A bean reference to the MessageConverter.
746+
]]></xsd:documentation>
747+
<xsd:appinfo>
748+
<tool:annotation kind="ref">
749+
<tool:expected-type
750+
type="org.springframework.messaging.converter.MessageConverter"/>
751+
</tool:annotation>
752+
</xsd:appinfo>
753+
</xsd:annotation>
754+
</xsd:attribute>
755+
</xsd:extension>
756+
</xsd:complexContent>
757+
</xsd:complexType>
758+
</xsd:element>
759+
633760
<xsd:complexType name="pollingInboundChannelAdapter">
634761
<xsd:all>
635762
<xsd:element ref="integration:poller" minOccurs="0"/>

0 commit comments

Comments
 (0)