is it a problem or bad practice to not return void from a method, that is annotated as @AmqpEventListener?
For re-use in synchronous processing I changed the method, to return the result instead of void:
@AmqpEventListener
public Object methodname(Object task) {
..
return result;
}
It’s clear, that result is not directly available after async invocation.