Defines an inbound HTTP-based Channel Adapter.
Defines configuration for org.springframework.integration.http.inbound.RequestMapping
as RESTFul attributes for Spring Integration HTTP Inbound Endpoints.
Specifies a Message header as a result of expression evaluation
against ServletRequest and URI Variables.
Maximum amount of time in milliseconds to wait when sending
a message to the channel if such channel may block.
For example, a Queue Channel can block until space
is available if its maximum capacity has been reached.
Defines an inbound HTTP-based Messaging Gateway.
Defines configuration for org.springframework.integration.http.inbound.RequestMapping
as RESTFul attributes for Spring Integration HTTP Inbound Endpoints.
The producible media types of the mapped request, narrowing the primary mapping.
The format is a sequence of media types ("text/plain", "application/*),
with a request only mapped if the Accept matches one of these media types.
Expressions can be negated by using the "!" operator, as in "!text/plain", which matches
all requests with a Accept other than "text/plain".
Specifies a Message header as a result of expression evaluation
against ServletRequest and URI Variables.
The receiving Message Channel of this endpoint.
Specify whether only the reply Message's payload should be passed in the response.
If this is set to 'false', the entire Message will be used to generate the response.
The default is 'true'.
In the case that a view-name is not specified this attribute can be used to
override the default behaviour when there is a message handling exception (which
is to rethrow). If this flag is true then the normal conversion process will be
applied to the exception and written out to the response body.
In the case that a view-name is specified this attribute can be used to
override the default key of the MVC Controller's ModelAndView attribute
to keep a reply from underlying message flow.
Default is 'reply'.
Comma-separated URI paths (e.g., /orderId/{order}).
Ant-style path patterns are also supported (e.g. /myPath/*.do).
Comma-separated HTTP Method names. Determines which types of Request are
allowed with this Endpoint.
View name to be resolved when rendering a response.
SpEL expression that resolves to a view to be resolved when rendering a response.
The expression can resolve to a view name or View object.
In the case of 'inbound-gateway' the root object of the evaluation context is the reply message.
In the case of 'inbound-channel-adapter' the 'evaluationContext' for this expression
is rather lightweight, because there is no reply message, ; it has a
'BeanResolver' but no variables,
so the usage of this attribute is somewhat limited.
An example might be to resolve, at runtime, some scoped Bean that returns a
view name or View object.
This attribute is not allowed if there is a 'view-name' attribute.
In the case that a view-name is specified this attribute can be used to
override the default error code under which the handling exception is exposed.
Defaults to "spring.integration.http.handler.error" and is supplied with 3
parameters: the exception itself, its message and its stack trace as a String.
In the case that a view-name is specified this attribute can be used to
override the default key of the Errors (if the request cannot be handled).
Defaults to "errors" (similar to normal MVC usage).
Target type for payload that is the conversion result of the request.
Allows you to specify SpEL expression to construct a Message payload
List of HttpMessageConverters for this Channel Adapter.
Flag to indicate if the default converters should be registered after any custom
converters. This flag is used only if message-converters
are provided, otherwise all default converters will be registered.
Defaults to "false"
Specifies a reference to org.springframework.integration.mapping.HeaderMapper
implementation bean. Only one of 'header-mapper' or 'mapped-request-headers' attributes
can be provided.
The MessagingGateway's 'error-channel' where to send an ErrorMessage in case
of Exception is caused from original message flow.
Defines an outbound HTTP-based Channel Adapter.
Specify an expression for URI variable placeholder within 'url'.
This element is mutually exclusive with 'uri-variables-expression' attribute.
Specify whether the outbound message's payload should be extracted
when preparing the request body. Otherwise the Message instance itself
will be serialized.
The default value is 'true'.
Defines an outbound HTTP-based Messaging Gateway.
Specify an expression for URI variable placeholder within 'url'.
The receiving Message Channel of this endpoint.
Specifies whether the outbound message's payload should be extracted
when preparing the request body. Otherwise the Message instance itself
will be serialized.
The default value is 'true'.
Defines common configuration for gateway adapters.
Identifies the channel to which this gateway will subscribe, to receive(send) reply Messages.
Defines configuration for org.springframework.integration.http.inbound.RequestMapping
as RESTFul attributes for Spring Integration HTTP Inbound Endpoints.
The parameters of the mapped request, narrowing the primary mapping.
A sequence of "myParam=myValue" style
expressions, with a request only mapped if each such parameter is found
to have the given value.
Expressions can be negated by using the "!=" operator,
as in "myParam!=myValue".
"myParam" style expressions are also supported,
with such parameters having to be present in the request (allowed to have
any value).
"!myParam" style expressions indicate that the
specified parameter is not supposed to be present in the request.
The headers of the mapped request, narrowing the primary mapping.
A sequence of "My-Header=myValue" style
expressions, with a request only mapped if each such header is found
to have the given value.
Expressions can be negated by using the "!=" operator,
as in "My-Header!=myValue".
"My-Header" style expressions are also supported,
with such headers having to be present in the request (allowed to have
any value).
"!My-Header" style expressions indicate that the
specified header is not supposed to be present in the request.
Also supports media type wildcards (*), for headers such as Accept
and Content-Type. For instance, headers = "content-type=text/*"
will match requests with a Content-Type of "text/html", "text/plain", etc.
The consumable media types of the mapped request, narrowing the primary mapping.
The format is a sequence of media types ("text/plain", "application/*),
with a request only mapped if the Content-Type matches one of these media types.
Expressions can be negated by using the "!" operator, as in "!text/plain", which matches
all requests with a Content-Type other than "text/plain".
When set to "false", the real URI won't be encoded before the request is sent. This may be useful
in some scenarios as it allows user control over the encoding, if needed,
for example by using the "url-expression". Default is "true".
The HTTP method to use when executing requests with this adapter Default is POST.
This attribute cannot be provided if http-method-expression has a value.
The SpEL expression to determine HTTP method, use when executing requests with this adapter,
dynamically. This attribute cannot be provided if http-method has a value.
The reference to org.springframework.web.client.RestTemplate bean to send the HTTP Request.
Specify the charset name to use for converting String-typed payloads to bytes.
The default is 'UTF-8'
The expected type to which the response body should be converted.
Default is 'org.springframework.http.ResponseEntity'.
This attribute cannot be provided if expected-response-type-expression has a value
SpEL expression to determine the type for the expected response to which the response body should be converted
The returned value of the expression could be an instance of java.lang.Class or
java.lang.String representing a fully qualified class name.
This attribute cannot be provided if expected-response-type has a value
Provide a reference to a list of HttpMessageConverter instances. If specified, these converters will replace
all of the default converters that would normally be present on the underlying RestTemplate.
Specify a reference to org.springframework.integration.mapping.HeaderMapper
implementation bean. Only one of 'header-mapper' or 'mapped-request-headers' attributes
can be provided.