Skip to content
Jey edited this page Aug 14, 2024 · 1 revision

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

How to change logging level through logback.xml

In order to maintain the overall logging level control capability the library uses an internal level filter, so if you want to change the level externally you need to set the internal level to ALL.