Skip to content

Commit 8c1e0de

Browse files
committed
feat: s3-outbound-gateway xsd schema
1 parent 27f57be commit 8c1e0de

File tree

1 file changed

+66
-1
lines changed

1 file changed

+66
-1
lines changed

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

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,72 @@
178178
</xsd:complexContent>
179179
</xsd:complexType>
180180
</xsd:element>
181-
181+
182+
<xsd:element name="s3-outbound-gateway">
183+
<xsd:annotation>
184+
<xsd:documentation><![CDATA[
185+
Defines a Consumer Endpoint for the 'org.springframework.integration.aws.outbound.S3MessageHandler'
186+
with request-reply behaviour to perform Amazon S3 operations.
187+
]]></xsd:documentation>
188+
</xsd:annotation>
189+
<xsd:complexType>
190+
<xsd:complexContent>
191+
<xsd:extension base="s3OutboundChannelAdapter">
192+
<xsd:attributeGroup ref="integration:smartLifeCycleAttributeGroup"/>
193+
<xsd:attribute name="id" type="xsd:string"/>
194+
<xsd:attribute name="request-channel" type="xsd:string">
195+
<xsd:annotation>
196+
<xsd:appinfo>
197+
<tool:annotation kind="ref">
198+
<tool:expected-type type="org.springframework.messaging.MessageChannel"/>
199+
</tool:annotation>
200+
</xsd:appinfo>
201+
<xsd:documentation><![CDATA[
202+
Identifies the request channel attached to this gateway.
203+
]]></xsd:documentation>
204+
</xsd:annotation>
205+
</xsd:attribute>
206+
<xsd:attribute name="reply-channel" type="xsd:string">
207+
<xsd:annotation>
208+
<xsd:appinfo>
209+
<tool:annotation kind="ref">
210+
<tool:expected-type type="org.springframework.messaging.MessageChannel"/>
211+
</tool:annotation>
212+
</xsd:appinfo>
213+
<xsd:documentation><![CDATA[
214+
Identifies the reply channel attached to this gateway.
215+
]]></xsd:documentation>
216+
</xsd:annotation>
217+
</xsd:attribute>
218+
<xsd:attribute name="reply-timeout" type="xsd:long">
219+
<xsd:annotation>
220+
<xsd:documentation><![CDATA[
221+
Allows you to specify how long this gateway will wait for
222+
the reply message to be sent successfully to the reply channel
223+
before throwing an exception. This attribute only applies when the
224+
channel might block, for example when using a bounded queue channel that
225+
is currently full.
226+
227+
Also, keep in mind that when sending to a DirectChannel, the
228+
invocation will occur in the sender's thread. Therefore,
229+
the failing of the send operation may be caused by other
230+
components further downstream.
231+
232+
The "reply-timeout" attribute maps to the "sendTimeout" property of the
233+
underlying 'MessagingTemplate' instance
234+
(org.springframework.integration.core.MessagingTemplate).
235+
236+
The attribute will default, if not specified, to '-1', meaning that
237+
by default, the Gateway will wait indefinitely. The value is
238+
specified in milliseconds.
239+
]]></xsd:documentation>
240+
</xsd:annotation>
241+
</xsd:attribute>
242+
</xsd:extension>
243+
</xsd:complexContent>
244+
</xsd:complexType>
245+
</xsd:element>
246+
182247
<xsd:complexType name="pollingInboundChannelAdapter">
183248
<xsd:all>
184249
<xsd:element ref="integration:poller" minOccurs="0"/>

0 commit comments

Comments
 (0)