Skip to content
Jey edited this page Nov 27, 2024 · 2 revisions

How do I get the method's response?

To get a response and be able to operate over, you need to use sendReturning at the end of the method instead of send.

In this case the Response class is returned, which contains the response, success or failure, further you need to either handle the failure or just call getOrNull().

There's section about: Processing responses.

I'm getting error while using spring-boot-devtools

This happens because spring-boot-devtools has its own classloader and it does not find methods.

You need to add to resources/META-INF/spring-devtools.properties:

restart.include.generated=/eu.vendeli