title: How to know if a stomp message have been send correctly?
body: <p>I am using webstomp to comunicate with my message broker (In this case rabbit).</p>
  <p>When I want to write a message I do the following:</p>
  <pre><code>import * as SockJS from 'sockjs-client';
  let client = Stomp.over(new SockJS(serverAddress));
  client.connect(user, pass, onConnect, onError);
  client.send('/exchange/amq.direct/test', {test: 'one', test2: 'two'});
  </code></pre>
  <p>This message is received correctly by Rabbit but I would like to have a way to confirm that more than viasually. Something similar to:</p>
  <pre><code>client.send('/exchange/amq.direct/test', {test: 'one', test2: 'two'})
  .then(() =&gt; {console.log('Message received correctly')})
  .catch((err) =&gt; {console.log('Imposible send the message')})
  </code></pre>
  <p>Is there a way to do this?</p>