INTEXT-197: Lifecycle attrs for s3-outbound-c-a
JIRA: https://jira.spring.io/browse/INTEXT-197 * Modified the `org/springframework/integration/aws/config/xml/spring-integration-aws-1.0.xsd` to add `channelAdapterAttributes` to expose `phase` attribute in `s3 outbound adapter`. * Modified `AmazonS3OutboundChannelAdapterParserTests` - Added Unit Test Class to test the `channelAdapterAttributes`. * Modified `s3-valid-outbound-cases.xml` - Added separate definition `withChannelAdapterAttributes` for phase attribute. Polishing according PR comments
This commit is contained in:
committed by
Artem Bilan
parent
c674a8dace
commit
dc66af65eb
@@ -68,6 +68,21 @@
|
||||
</int-aws:request-handler-advice-chain>
|
||||
</int-aws:s3-outbound-channel-adapter>
|
||||
|
||||
<int-aws:s3-outbound-channel-adapter
|
||||
id="withChannelAdapterAttributes"
|
||||
channel="input"
|
||||
bucket="TestBucket"
|
||||
accessKey="dummy"
|
||||
secretKey="dummy"
|
||||
remote-directory="/"
|
||||
charset="US-ASCII"
|
||||
phase="100"
|
||||
auto-startup="false"
|
||||
thread-pool-executor="executor"
|
||||
multipart-upload-threshold="5120"
|
||||
temporary-suffix=".write"
|
||||
file-name-generation-expression="headers['name']"/>
|
||||
|
||||
<bean id="queue" class="java.util.concurrent.ArrayBlockingQueue">
|
||||
<constructor-arg value="10"/>
|
||||
</bean>
|
||||
|
||||
Reference in New Issue
Block a user