Questions tagged [spring-integration-http]
136 questions
0
votes
1 answer
How to change poller frequency at runtime within a Http outbound gateway?
My scenario is a Http outbound gateway where I ask an external service for the next transition represented by a TransferRequest entity. The gateway is the endpoint of the "httpOutRequest" channel. The startpoint for "httpOutRequest" channel is a…

JBStonehenge
- 192
- 3
- 15
0
votes
1 answer
Spring Integration HttpOutbound throws triggers ErrorChannel when http header ETag: 1 received from the server
Sorry I Miss understood the problem.
The issue is ETag Header.
This is header response when i make curl request to server.
Content-Length: 228
Content-Type: application/json
X-ORACLE-DMS-ECID: 644f1021-bee9-4a11-b8ab-ab8557a746c0-00000f2c
ETag:…

Aron Mosha
- 23
- 4
0
votes
1 answer
Spring Integration Asynchronous Http Outbound call
I have a requirement where in I have to do Http Outbound call to an http endpoint in loop with different payload values, the calling function does not have to wait for the response received from the outbound calls, so basically the outbound calls…

souvikc
- 991
- 1
- 10
- 25
0
votes
1 answer
how to handle "Transfer-Encoding=chunked" in SI HttpRequestExecutingMessageHandler
I am calling an external server using HttpRequestExecutingMessageHandler. I am using a JSON to object transformer to convert the JSON data. But I am getting the following exception.
Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal…

Sanal M
- 187
- 4
- 17
0
votes
1 answer
Spring Integration - Manage 401 Error in http outbound adapter call
I am new to spring integration.
I have a flow on which I need to perform an http or a tcp call depending on some conditions.
The problem I am focused on is related to the http call.
The rest endpoint called needs an accessToken as header parameter…

Luca Godano
- 5
- 2
0
votes
1 answer
Cannot call HTTPS endpoint from Spring integration outbound gateway
I have two microservices and a gateway. one microservice is developed with JHipster and spring boot(Service1), and the other has the spring integration framework(IntegrationService). Now I need to call the service1 API from the IntegrationService. I…

Sanal M
- 187
- 4
- 17
0
votes
1 answer
IneligibleMethodException: Found more than one parameter type candidate - Spring Integration
I am using
org.springframework.boot
spring-boot-starter-integration
org.springframework.boot
…

TuGordoBello
- 4,350
- 9
- 52
- 78
0
votes
1 answer
How to get Spring Integration Http.inboundGateway to return HAL Json?
I set the following property to true "spring.hateoas.use-hal-as-default-json-media-type' & added org.springframework.boot:spring-boot-starter-hateoas as a dependency.
Code
@Bean
public IntegrationFlow myUserFlow() {
return IntegrationFlows
…

Kevvvvyp
- 1,704
- 2
- 18
- 38
0
votes
1 answer
Wire tap as async channel?
Is it right to use "wiretap" as a second line logic channel?
Or I should use another methods? I not found anything appropriate (pubSubChannel?)
For example:
@Bean
HttpRequestHandlingMessagingGateway srvPutVers() {
return…

Shakirov Ramil
- 1,381
- 9
- 13
0
votes
1 answer
Spring Boot and Spring Integration. Problems
I have a SpringBoot application. I have a dedicated server, where I shall read data by the HTTP GET requests. I configured the http-outbound-config.xml file for Spring Integration module.
When I run the following code, everything is…

Andrei Gavrilov
- 27
- 8
0
votes
0 answers
Why the original headers weren't copied on success advice
Why the original headers weren't copied on success advice.
After sending message with http outbound adapter I expected receive original message header, but not got it. Only originalMessagePayload is accessible.
I see all headers if I don't use…

Shakirov Ramil
- 1,381
- 9
- 13
0
votes
1 answer
Spring Integration Java DSL InBound and Outbound Error Handling
I am trying to build an integration solution where
IntegrationFlows
.from(inBoundGateway)
.enrichHeaders(enrichHeaders())
.transform(dto to externaldto)
.handle(outBoundGateway, advice -> advice.advice(retryAdvice()))
…

Zafar Ali
- 37
- 1
- 8
0
votes
1 answer
Can I get original message after response
Can you help me with spring integration.
I have Integration flow for send post request to other system with http.
Can I get original message after sending it, because I wanna do other operations on success and error.
ErrorHandler just has…

Shakirov Ramil
- 1,381
- 9
- 13
0
votes
1 answer
How to validate incoming json in spring integration http inbound adaptor and return a Json response
I am trying to setup an http:inbound-gateway that only accepts json. My xml config looks like.

dim5b
- 29
- 1
- 7
0
votes
1 answer
@EnableConfigurationProperties(MyConfig.class) generated bean name does not work in spring-integration
I have a config class with @ConfigurationProperties as follows. I am able to populate systemConfigMap from application.yaml in the MyConfig class as seen below
@ConfigurationProperties(prefix =…

Nikhil
- 345
- 2
- 13