How to use the stomp module to send and receive a queue?
Drupal supports its own Queue interface out the box. See https://api.drupal.org/api/drupal/modules%21system%21system.queue.inc/group/queue/7  The stomp module when configured simply moves the queue infrastructure out of Drupal and into a 3rd party system.

See the readme on this integration settings http://cgit.drupalcode.org/stomp/tree/README.txt