title: RabbitMQ AMQP.BasicProperties.Builder values
body: <p>In the RabbitMQ/AMQP Java client, you can create an <code>AMQP.BasicProperties.Builder</code>, and use it to <code>build()</code> an instance of <code>AMQP.BasicProperties</code>. This built properties instance can then be used for all sorts of important things. There are lots of "builder"-style methods available on this builder class:</p>
  
  <pre><code>BasicProperties.Builder propsBuilder = new BasicProperties.Builder();
  propsBuilder
      .appId(???)
      .clusterId(???)
      .contentEncoding(???)
      .contentType(???)
      .correlationId(???)
      .deliveryMode(2)
      .expiration(???)
      .headers(???)
      .messageId(???)
      .priority(???)
      .replyTo(???)
      .timestamp(???)
      .type(???)
      .userId(???);
  </code></pre>
  
  <p>I'm looking for what fields these builer methods help "build-up", <strong>and most importantly, what valid values exist for each field</strong>. For instance, what is a <code>clusterId</code>, and what are its valid values? What is <code>type</code>, and what are its valid values? Etc.</p>
  
  <p>I have spent all morning scouring:</p>
  
  <ul>
  <li><a href="http://www.rabbitmq.com/api-guide.html" rel="nofollow noreferrer">The Java client documentation</a>; and</li>
  <li><a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v3.1.5/rabbitmq-java-client-javadoc-3.1.5/overview-summary.html" rel="nofollow noreferrer">The Javadocs</a>; and</li>
  <li><a href="http://www.rabbitmq.com/amqp-0-9-1-reference.html" rel="nofollow noreferrer">The RabbitMQ full reference guide</a>; and</li>
  <li><a href="http://www.amqp.org/sites/amqp.org/files/amqp.pdf" rel="nofollow noreferrer">The AMQP specification</a></li>
  </ul>
  
  <p>In all these docs, I cannot find clear definitions (besides some <em>vague</em> explanation of what <code>priority</code>, <code>contentEncoding</code> and <code>deliveryMode</code> are) of what each of these fields are, and what their valid values are. Does anybody know? More importantly, does anybody know where these are even documented? Thanks in advance!</p>