|
163 | 163 | </xsd:complexType> |
164 | 164 | </xsd:element> |
165 | 165 |
|
| 166 | + <xsd:element name="s3-outbound-channel-adapter"> |
| 167 | + <xsd:annotation> |
| 168 | + <xsd:documentation><![CDATA[ |
| 169 | + Defines a Consumer Endpoint for the 'org.springframework.integration.aws.outbound.S3MessageHandler' |
| 170 | + with one-way behaviour to perform Amazon S3 operations . |
| 171 | + ]]></xsd:documentation> |
| 172 | + </xsd:annotation> |
| 173 | + <xsd:complexType> |
| 174 | + <xsd:complexContent> |
| 175 | + <xsd:extension base="s3OutboundChannelAdapter"> |
| 176 | + <xsd:attributeGroup ref="integration:channelAdapterAttributes"/> |
| 177 | + </xsd:extension> |
| 178 | + </xsd:complexContent> |
| 179 | + </xsd:complexType> |
| 180 | + </xsd:element> |
| 181 | + |
166 | 182 | <xsd:complexType name="pollingInboundChannelAdapter"> |
167 | 183 | <xsd:all> |
168 | 184 | <xsd:element ref="integration:poller" minOccurs="0"/> |
|
281 | 297 | </xsd:complexContent> |
282 | 298 | </xsd:complexType> |
283 | 299 |
|
| 300 | + <xsd:complexType name="outboundChannelAdapter"> |
| 301 | + <xsd:sequence> |
| 302 | + <xsd:element ref="integration:poller" minOccurs="0" maxOccurs="1"/> |
| 303 | + <xsd:element name="request-handler-advice-chain" type="integration:handlerAdviceChainType" minOccurs="0" maxOccurs="1"/> |
| 304 | + <xsd:element name="transactional" type="integration:transactionalType" minOccurs="0" maxOccurs="1"/> |
| 305 | + </xsd:sequence> |
| 306 | + <xsd:attribute name="order"> |
| 307 | + <xsd:annotation> |
| 308 | + <xsd:documentation><![CDATA[ |
| 309 | + Specifies the order for invocation when this endpoint is connected as a |
| 310 | + subscriber to a SubscribableChannel. |
| 311 | + ]]></xsd:documentation> |
| 312 | + </xsd:annotation> |
| 313 | + </xsd:attribute> |
| 314 | + </xsd:complexType> |
| 315 | + |
| 316 | + <xsd:complexType name="s3OutboundChannelAdapter"> |
| 317 | + <xsd:complexContent> |
| 318 | + <xsd:extension base="outboundChannelAdapter"> |
| 319 | + <xsd:attribute name="s3" type="xsd:string"> |
| 320 | + <xsd:annotation> |
| 321 | + <xsd:documentation><![CDATA[ |
| 322 | + Reference to an instance of 'software.amazon.awssdk.services.s3.S3AsyncClient'. |
| 323 | + Mutually exclusive with the 'transfer-manager'. |
| 324 | + ]]></xsd:documentation> |
| 325 | + <xsd:appinfo> |
| 326 | + <tool:annotation kind="ref"> |
| 327 | + <tool:expected-type type="software.amazon.awssdk.services.s3.S3AsyncClient"/> |
| 328 | + </tool:annotation> |
| 329 | + </xsd:appinfo> |
| 330 | + </xsd:annotation> |
| 331 | + </xsd:attribute> |
| 332 | + <xsd:attribute name="transfer-manager" type="xsd:string"> |
| 333 | + <xsd:annotation> |
| 334 | + <xsd:documentation><![CDATA[ |
| 335 | + Reference to an instance of 'software.amazon.awssdk.transfer.s3.S3TransferManager'. |
| 336 | + Mutually exclusive with the 's3'. |
| 337 | + ]]></xsd:documentation> |
| 338 | + <xsd:appinfo> |
| 339 | + <tool:annotation kind="ref"> |
| 340 | + <tool:expected-type type="software.amazon.awssdk.transfer.s3.S3TransferManager"/> |
| 341 | + </tool:annotation> |
| 342 | + </xsd:appinfo> |
| 343 | + </xsd:annotation> |
| 344 | + </xsd:attribute> |
| 345 | + <xsd:attribute name="bucket" type="xsd:string"> |
| 346 | + <xsd:annotation> |
| 347 | + <xsd:documentation><![CDATA[ |
| 348 | + The S3 bucket to use. |
| 349 | + Mutually exclusive with 'bucket-expression'. |
| 350 | + ]]></xsd:documentation> |
| 351 | + </xsd:annotation> |
| 352 | + </xsd:attribute> |
| 353 | + <xsd:attribute name="bucket-expression" type="xsd:string"> |
| 354 | + <xsd:annotation> |
| 355 | + <xsd:documentation><![CDATA[ |
| 356 | + A SpEL expression to evaluate S3 bucket at runtime against request message. |
| 357 | + Mutually exclusive with 'bucket'. |
| 358 | + ]]></xsd:documentation> |
| 359 | + </xsd:annotation> |
| 360 | + </xsd:attribute> |
| 361 | + <xsd:attribute name="command"> |
| 362 | + <xsd:annotation> |
| 363 | + <xsd:documentation><![CDATA[ |
| 364 | + The S3MessageHandler operation command. |
| 365 | + Mutually exclusive with 'command-expression'. |
| 366 | + ]]></xsd:documentation> |
| 367 | + </xsd:annotation> |
| 368 | + <xsd:simpleType> |
| 369 | + <xsd:union memberTypes="s3CommandType xsd:string"/> |
| 370 | + </xsd:simpleType> |
| 371 | + </xsd:attribute> |
| 372 | + <xsd:attribute name="command-expression" type="xsd:string"> |
| 373 | + <xsd:annotation> |
| 374 | + <xsd:documentation><![CDATA[ |
| 375 | + A SpEL expression to evaluate S3MessageHandler operation command at runtime against request message. |
| 376 | + Mutually exclusive with 'command'. |
| 377 | + ]]></xsd:documentation> |
| 378 | + </xsd:annotation> |
| 379 | + </xsd:attribute> |
| 380 | + <xsd:attribute name="key-expression" type="xsd:string"> |
| 381 | + <xsd:annotation> |
| 382 | + <xsd:documentation><![CDATA[ |
| 383 | + A SpEL expression to evaluate S3Object key at runtime against request message. |
| 384 | + ]]></xsd:documentation> |
| 385 | + </xsd:annotation> |
| 386 | + </xsd:attribute> |
| 387 | + <xsd:attribute name="destination-bucket-expression" type="xsd:string"> |
| 388 | + <xsd:annotation> |
| 389 | + <xsd:documentation><![CDATA[ |
| 390 | + A SpEL expression to evaluate destination S3 bucket at runtime against request message |
| 391 | + for the 'copy' operation. |
| 392 | + ]]></xsd:documentation> |
| 393 | + </xsd:annotation> |
| 394 | + </xsd:attribute> |
| 395 | + <xsd:attribute name="destination-key-expression" type="xsd:string"> |
| 396 | + <xsd:annotation> |
| 397 | + <xsd:documentation><![CDATA[ |
| 398 | + A SpEL expression to evaluate destination S3Object key at runtime against request message |
| 399 | + for the 'copy' operation. |
| 400 | + ]]></xsd:documentation> |
| 401 | + </xsd:annotation> |
| 402 | + </xsd:attribute> |
| 403 | + <xsd:attribute name="upload-metadata-provider" type="xsd:string"> |
| 404 | + <xsd:annotation> |
| 405 | + <xsd:documentation><![CDATA[ |
| 406 | + Reference to an instance of |
| 407 | + 'java.util.function.BiConsumer<PutObjectRequest.Builder, Message<?>>'. |
| 408 | + ]]></xsd:documentation> |
| 409 | + <xsd:appinfo> |
| 410 | + <tool:annotation kind="ref"> |
| 411 | + <tool:expected-type type="java.util.function.BiConsumer"/> |
| 412 | + </tool:annotation> |
| 413 | + </xsd:appinfo> |
| 414 | + </xsd:annotation> |
| 415 | + </xsd:attribute> |
| 416 | + </xsd:extension> |
| 417 | + </xsd:complexContent> |
| 418 | + </xsd:complexType> |
| 419 | + |
| 420 | + <xsd:simpleType name="s3CommandType"> |
| 421 | + <xsd:restriction base="xsd:token"> |
| 422 | + <xsd:enumeration value="UPLOAD"/> |
| 423 | + <xsd:enumeration value="DOWNLOAD"/> |
| 424 | + <xsd:enumeration value="COPY"/> |
| 425 | + </xsd:restriction> |
| 426 | + </xsd:simpleType> |
284 | 427 | </xsd:schema> |
0 commit comments