Configures a Message Producing Endpoint for the
'org.springframework.integration.webflux.inbound.WebFluxInboundEndpoint' that
receives HTTP requests reactive manner and doesn't produce responses.
Defines configuration for org.springframework.integration.http.inbound.RequestMapping
as RESTFul attributes for Spring Integration HTTP Inbound Endpoints.
Marks this endpoint as permitting cross origin requests (CORS).
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.
A SpEL expression that resolves to an 'HttpStatus' code when rendering a response.
The expression must return an object which can be converted to a
'org.springframework.http.HttpStatus' enum value.
The 'evaluationContext' 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 an
'HttpStatus' value, or use a literal expression e.g. "201".
By default 'status-code-expression' is null, meaning that the default '200 OK' response status
will be returned.
The 'http:inbound-gateway' resolves the 'status code' from the 'http_statusCode' header of the
reply
Message.
Configures a Messaging Gateway Endpoint for the
'org.springframework.integration.webflux.inbound.WebFluxInboundEndpoint' that
receives HTTP requests and produces responses reactive manner.
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".
Marks this endpoint as permitting cross origin requests (CORS).
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'.
A SpEL expression that resolves to an 'HttpStatus' code when rendering a response after
a 'reply-timeout'.
The expression must return an object which can be converted to a
'org.springframework.http.HttpStatus' enum value.
The 'evaluationContext' 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 an
'HttpStatus' value, or use a literal expression e.g. "504".
By default 'status-code-expression' is null, meaning that the default
'500 Internal Server Error' response status will be returned after a timeout.
When a timeout is not encountered,
the 'http:inbound-gateway' resolves the 'status code' from the 'http_statusCode' header
of the reply
Message.
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.
Target type for payload that is the conversion result of the request.
Allows you to specify SpEL expression to construct a Message payload
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.
A 'ServerCodecConfigurer' for the request readers and response writers.
By default the 'ServerCodecConfigurer#create()' factory is used.
A 'RequestedContentTypeResolver' strategy to resolve the requested media types
for a 'ServerWebExchange'.
A 'HeaderContentTypeResolver' is used by default.
A 'ReactiveAdapterRegistry' registry of adapters to adapt a
Reactive Streams 'Publisher' to/from.
A 'Validator' bean reference to validate a payload converted from the HTTP request.
Configures a Consumer Endpoint for the
'org.springframework.integration.webflux.outbound.WebFluxRequestExecutingMessageHandler'
with 'expectReply = false' that sends HTTP requests based on incoming messages reactive manner.
Specify an expression for URI variable placeholder within 'url'.
This element is mutually exclusive with 'uri-variables-expression' attribute.
A reference to an org.springframework.web.reactive.function.client.WebClient bean
which is used to send to send the HTTP Requests reactive manner.
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'.
The type for a request 'Publisher' elements.
This attribute cannot be provided if the expected-response-type-expression has a value
SpEL expression to determine the type for a request 'Publisher' elements against a request
message. The returned value of the expression could be an instance of java.lang.Class,
or java.lang.String representing a fully qualified class name, or 'ParameterizedTypeReference'.
This attribute cannot be provided if 'publisher-element-type' has a value
Configures a Consumer Endpoint for the
'org.springframework.integration.webflux.outbound.WebFluxRequestExecutingMessageHandler'
that sends HTTP requests based on incoming messages and expects HTTP responses.
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'.
A reference to an org.springframework.web.reactive.function.client.WebClient bean
which is used to send to send the HTTP Requests reactive manner.
When set to "true", the response is converted to the Flux which is sent as a reply
message payload.
The downstream flow might have a splitter to walk through that Flux.
Default is "false".
A reference to an org.springframework.web.reactive.function.BodyExtractor bean
which is used to to extract the content from the response.
Must be used instead of 'expected-response-type(-expression)'
The type for a request 'Publisher' elements.
This attribute cannot be provided if the expected-response-type-expression has a value
SpEL expression to determine the type for a request 'Publisher' elements against a
request
message. The returned value of the expression could be an instance of java.lang.Class,
or java.lang.String representing a fully qualified class name, or
'ParameterizedTypeReference'.
This attribute cannot be provided if 'publisher-element-type' has a value
Set to 'false' to return the whole 'ResponseEntity' in the reply message payload.
The default value is 'true'.