configuration.getStomp().connectCallback(promise);
connection = promise.await();
connection.getDispatchQueue().execute(new Task() {
@Override
public void run() {
connection.receive(new Callback<StompFrame>() {
@Override
public void onFailure(Throwable value) {