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
The docs for basic/publish don't mention the return value or exceptions thrown.
Since basic/publish delegates to com.rabbitmq.client.Channel.basicPublish I believe that the function return nil (since the signature is void in Java, and it throws IOException if an error is encountered.