Skip to content

Commit 149afd0

Browse files
committed
feat: sns-inbound-channel-adapter xsd schema
1 parent 2b960c0 commit 149afd0

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

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

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,86 @@
244244
</xsd:complexType>
245245
</xsd:element>
246246

247+
<xsd:element name="sns-inbound-channel-adapter">
248+
<xsd:annotation>
249+
<xsd:documentation><![CDATA[
250+
Defines an SNS inbound HTTP-based Channel Adapter - SnsInboundChannelAdapter.
251+
]]></xsd:documentation>
252+
</xsd:annotation>
253+
<xsd:complexType>
254+
<xsd:attributeGroup ref="integration:channelAdapterAttributes"/>
255+
<xsd:attribute name="sns" type="xsd:string" use="required">
256+
<xsd:annotation>
257+
<xsd:documentation><![CDATA[
258+
The 'software.amazon.awssdk.services.sns.SnsClient' bean reference.
259+
]]></xsd:documentation>
260+
<xsd:appinfo>
261+
<tool:annotation kind="ref">
262+
<tool:expected-type type="software.amazon.awssdk.services.sns.SnsClient"/>
263+
</tool:annotation>
264+
</xsd:appinfo>
265+
</xsd:annotation>
266+
</xsd:attribute>
267+
<xsd:attribute name="path" type="xsd:string" use="required">
268+
<xsd:annotation>
269+
<xsd:documentation><![CDATA[
270+
Comma-separated URI paths (e.g., /orderId/{order}).
271+
Ant-style path patterns are also supported (e.g. /myPath/*.do).
272+
]]></xsd:documentation>
273+
</xsd:annotation>
274+
</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>
285+
<xsd:attribute name="payload-expression" type="xsd:string">
286+
<xsd:annotation>
287+
<xsd:documentation><![CDATA[
288+
Allows you to specify SpEL expression to construct a Message payload.
289+
The root evaluation object will be populated with an HttpEntity instance as the root object
290+
and it may contain variables:
291+
- #pathVariables
292+
- #requestParams
293+
- #requestAttributes
294+
- #requestHeaders
295+
- #matrixVariables
296+
- #cookies
297+
]]></xsd:documentation>
298+
</xsd:annotation>
299+
</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>
313+
<xsd:attribute name="handle-notification-status" type="xsd:boolean">
314+
<xsd:annotation>
315+
<xsd:documentation><![CDATA[
316+
Flag to indicate if the 'SubscriptionConfirmation' and 'UnsubscribeConfirmation'
317+
SNS messages should sent to the 'channel' or not. If 'true' the
318+
'AwsHeaders.NOTIFICATION_STATUS' message header is populated with the 'NotificationStatus'
319+
value. In this case it is an application responsibility to 'confirm' subscription or not using
320+
that 'NotificationStatus' object. Defaults to 'false'.
321+
]]></xsd:documentation>
322+
</xsd:annotation>
323+
</xsd:attribute>
324+
</xsd:complexType>
325+
</xsd:element>
326+
247327
<xsd:complexType name="pollingInboundChannelAdapter">
248328
<xsd:all>
249329
<xsd:element ref="integration:poller" minOccurs="0"/>

0 commit comments

Comments
 (0)