asyncresttemplate Questions

4

Solved

I want to execute 3 calls simultaneously and process the results once they're all done. I know this can be achieved using AsyncRestTemplate as it is mentioned here How to use AsyncRestTemplate to...
Incomplete asked 6/5, 2018 at 19:48

3

Solved

I am using Spring RestTemplate and want to make a call to another service that doesn't return any response body. So, I don't want to wait for the response. So, it's just fire and forget, and contin...
Chromato asked 22/5, 2019 at 5:57

1

I have developed some async web services with spring framework and REST, I have consumed it from a client created with spring class AsyncRestTemplate. Class return an object ListenableFuture<Res...
Heraclitean asked 29/5, 2018 at 22:45

1

Solved

I wrote a spring batch job that processes List of Lists. Reader returns List of List. Processor works on each ListItem and returns processed List. Writer writes stuff to DB and sftp from List of L...
Fidellas asked 12/9, 2018 at 20:5

1

RestTemplate example is below. public class SimpleClient { private final String URL; private AsyncRestTemplate rest = new AsyncRestTemplate(new Netty4ClientHttpRequestFactory()); private Rest...

3

Solved

I have to make Rest API invocation using RestTemplate multiple time with different parameters. API is same but it is the parameter that is getting changed. Number of times is also variable. I want ...
Abradant asked 8/6, 2017 at 2:22

1

Solved

I'm using Spring 4.2.3 AsyncRestTemplate.exchange() to call some API that will take several seconds, and i'm expecting that listenableFuture.get(1, TimeUnit.SECONDS) will block for 1 second and the...
Moraine asked 16/2, 2017 at 7:23
1

© 2022 - 2024 — McMap. All rights reserved.