You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public void registerEndpoint(RabbitListenerEndpoint endpoint,
@Nullable RabbitListenerContainerFactory<?> factory) {
Assert.notNull(endpoint, "Endpoint must be set");
Assert.hasText(endpoint.getId(), "Endpoint id must be set");
So, if something is missed, it will be reported back to the caller.
There are might be much more nuances which we don't mention in the docs, but they make it obvious when you run your application.
We definitely cannot cover all the possible use-cases in the reference doc.
I believe that documentation
https://docs.spring.io/spring-amqp/reference/amqp/receiving-messages/async-annotation-driven/registration.html
is missing setId method call on SimpleRabbitListenerEndpoint object to work.
The text was updated successfully, but these errors were encountered: