All Questions

0 votes
0 answers
8 views

Can rest template exist along with spring cloud gateway

I have a gateway application which is implemented in Netflix zuul gateway and spring boot 2.4.13. Since, this spring boot version has got vulnerabilities, there is a need to update it to latest ...
0 votes
0 answers
6 views

Sprint webflux WebClientResponseException response body contains the array of string

the WebClientResponseException response return the res.getResponseBodyAsString() as a value as "[\"Name is invalid.\",\"RegisterationNumber is invalid.\"]" but I want to ...
0 votes
0 answers
15 views

Debug RejectedExecutionException in spring WebClient

I'm using spring reactive org.springframework.web.reactive.function.client.WebClient in blocking mode: remoteApi.save(DtoMapper.toDto(pojo)).block(Duration.of(20, ChronoUnit.SECONDS)); and when ...
0 votes
0 answers
6 views

Who releases the `DataBuffer`s passed to `ReactiveHttpOutputMessage#writeWith`?

I'm trying to write a custom ReactiveHttpOutputMessage implementation. Should I release the DataBuffers I receive in writeWith? The default ReactiveHttpOutputMessage implementation ...
  • 3,298
0 votes
1 answer
25 views

Spring Webclient, The connection observed an error io.netty.handler.ssl.SslClosedEngineException: SSLEngine closed already

To make a call to an external payment gateway from the spring boot application, we are making use of webclient that comes along with webflux. Stack: spring-boot-starter-parent 2.5.3 spring-boot-...
0 votes
1 answer
26 views

How to wrap Flux<T> in ResponseEntity (ResponseEntity<Flux<T>)

First of all, I know that there are a few other questions essentially asking the same thing (How to Wrap Flux in a ResponseEntity, How to combine Flux and ResponseEntity in Spring Webflux controllers),...
  • 3
-1 votes
1 answer
21 views

How to throw custom exception when using Spring webclient exchange method?

I have created a reusable method that returns the headers, status, and body of an HTTP call using the Spring webclient's exchange method. I want to capture the 4xx and 5xx errors in the method itself ...
-2 votes
0 answers
12 views

What's better approach to use reactive-programming pipelines in application with Spring Data JPA and SQL database?

I have small sandbox Spring-Boot based project. I connected it to PostgreSQL and Spring Data JPA. after that I decided to try out Reactor and Spring WebFLux, made my repository reactive(...
1 vote
1 answer
33 views

How to organise return Mono condition in controller?

Learning reactive programming now. I have simple Spring-Boot application and simple controller method, where I want to make simple condition in Get mapping: @GetMapping(value = "/to-do/{toDoId}&...
0 votes
0 answers
7 views

How Spring Cloud API Gateway stores routing details from Eureka & Works as expected after Eureka Instance is down?

I'm working on spring cloud API Gateway when I was testing sample implementation by another developer I found that API Gateway is working even after Eureka Server was down!! I just want to know how it ...
-4 votes
0 answers
17 views

Hibernate Reactive as ORM with Spring data r2dbc in Spring Webflux App [closed]

can I use Hibernate reactive as an ORM solution with Spring data r2dbc for reactive spring web flux apps persistence layer? Could you please share with me an example code/blog for this workaround? ...
  • 171
0 votes
1 answer
41 views
+50

Spring webclient pool is exhausted after sometime

Below are the different ways i tried to use web client to send a post, but each time the connection pool is exhausted after sometime. I get the below error. I'm using spring boot 2.7.3 version Please ...
  • 2,259
0 votes
1 answer
27 views

Spring WebFlux FilePart transferTo method can't write file to dest path

import org.springframework.http.codec.multipart.FilePart; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RestController; import reactor.core....
  • 1
0 votes
0 answers
23 views

How to validate a model model in web flux SpringBoot

I'm trying to move from traditional approach to Reactive style. Early days for me. One of the challenge I came into and could not make much progress is on model validation. With RestControllers, it ...
0 votes
1 answer
31 views

Project Reactor - ConnectionProvider.evictInBackground()

What is the benefit of using evictInBackground operation on ConnectionProvider which is used with HttpClient.create(connectionProvider) in springboot webflux ?
  • 1

15 30 50 per page
1
2 3 4 5
132