|
178 | 178 | </xsd:complexContent> |
179 | 179 | </xsd:complexType> |
180 | 180 | </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 | + |
182 | 247 | <xsd:complexType name="pollingInboundChannelAdapter"> |
183 | 248 | <xsd:all> |
184 | 249 | <xsd:element ref="integration:poller" minOccurs="0"/> |
|
0 commit comments