question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Task] use `#exchangeToMono` replace `#exchange`

See original GitHub issue

Description

use org.springframework.web.reactive.function.client.WebClient.RequestHeadersSpec#exchangeToMono replace org.springframework.web.reactive.function.client.WebClient.RequestHeadersSpec#exchange, but make sure https://github.com/apache/shenyu/issues/3686 and https://github.com/apache/shenyu/issues/3687 not happens.

Task List

    • use #exchangeToMono replace #exchange in WebClientPlugin @spicydev

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
moremindcommented, Jul 31, 2022

As for #3158 and #3687 , can you add these two case to our integrated tests? @moremind

ok, I will do it.

0reactions
dragon-zhangcommented, Jul 31, 2022

As for https://github.com/apache/shenyu/issues/3158 and https://github.com/apache/shenyu/issues/3687 , can you add these two case to our integrated tests? @moremind

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebClient 5.3+ exchange vs exchangeToMono. Extracting ...
I am pretty new at using lambdas and webClient. I do realize that exchangeToMono() is the latest method call to return a Mono...
Read more >
Introduction to Spring WebClient - amitph
Complete introduction to Spring 5 reactive non-blocking WebClient to make HTTP calls. Build your WebClient to make web request from scratch.
Read more >
Spring 5 WebClient and WebTestClient Tutorial with Examples
In this article, you'll learn how to use WebClient and WebTestClient to consume and ... Using the exchange() method to retrieve the response....
Read more >
Don't let WebClient's bodyToMono trick you - Medium
It provides great API's to get the task done. One of the very common method used to deserialize the request and convert to...
Read more >
Deprecated List (Spring Framework 6.0.2 API)
org.springframework.core.task.AsyncListenableTaskExecutor ... as of 6.0 in favor of using CSS, without direct replacement ... RequestHeadersSpec.exchange().
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found