title: Get the body section of rabbitmq message
body: <p>I have setup a simple listener for rabbit mq</p>
  
  <pre><code>@RabbitListener(queues = SECOND_QUEUE)
      public void onMessage(Message message) {
       LOGGER.info("second queue listener.........");
       LOGGER.info(message.toString());
      }
  </code></pre>
  
  <p>and this gives a message of this format</p>
  
  <pre><code> (Body:'1460' MessageProperties [headers={}, timestamp=null, messageId=null, userId=null, receivedUserId=null, appId=null, clusterId=null, type=null, correlationId=null, correlationIdString=null, replyTo=null, contentType=application/x-java-serialized-object, contentEncoding=null, contentLength=0, deliveryMode=null, receivedDeliveryMode=PERSISTENT, expiration=null, priority=0, redelivered=false, receivedExchange=, receivedRoutingKey=bottomlesspit, receivedDelay=null, deliveryTag=1, messageCount=0, consumerTag=amq.ctag-PpEjG_BokAg-A4wllCgeqA, consumerQueue=bottomlesspit])
  </code></pre>
  
  <p>on the console.</p>
  
  <p>I am also interested in processing the message on the client side as well and i have this</p>
  
  <pre><code>var onConnect = function() {
     client.subscribe("/topic/messages", function(d) {
     var str = d.body
     var res = str.match(/Body:\'(.+)\'/);
     console.log("I control this",res[1]);
     });
   };
  </code></pre>
  
  <p>I just want to get the body in java since its the only part i am interested with for the time being.</p>
  
  <p>Is there a function that has already been implemented in java and on stomp for getting the body section only?.</p>