StompClientConnection has its subscribe method that returns the subscription id. Since we are futurizing the client, such method will instead return a Future of the result and thus we need before to have the subscribe method to use a receipt handler of the id instead of the frame.
StompClientConnection
has itssubscribe
method that returns the subscription id. Since we are futurizing the client, such method will instead return aFuture
of the result and thus we need before to have thesubscribe
method to use a receipt handler of the id instead of the frame.