code: public static MessageBody fromValueData(Object value)
      {
      	if(value == null)
      	{
      		throw new IllegalArgumentException("Value data is null.");
      	}
      	
      	MessageBody body = new MessageBody();
      	body.bodyType = MessageBodyType.VALUE;
      	body.valueData = value;
      	body.sequenceData = null;
      	body.binaryData = null;
      	return body;
      }
docs: Creates message body of AMQPValue type.
  @param value AMQPValue content of the message. It must be of a type supported by AMQP.
  @return MessageBody instance wrapping around the value data.