Class ConfiguredPropertiesBuilderFactory

java.lang.Object
interlok.rabbitmq.ConfiguredPropertiesBuilderFactory
All Implemented Interfaces:
Translator.PropertiesBuilderFactory

@ComponentProfile(summary="Explicitly configure the settings for the \'BasicProperties\' when publishing", since="4.3.0") public class ConfiguredPropertiesBuilderFactory extends Object implements Translator.PropertiesBuilderFactory
Implementation that allows you to explicit configure values in config.

Expressions are supported but no checking of values is done. If you leave something unconfigured (i.e. 'null' then the corresponding value will never be set

  • Constructor Details

    • ConfiguredPropertiesBuilderFactory

      public ConfiguredPropertiesBuilderFactory()
  • Method Details

    • build

      public com.rabbitmq.client.AMQP.BasicProperties.Builder build(AdaptrisMessage msg)
      Specified by:
      build in interface Translator.PropertiesBuilderFactory
    • getAppId

      public String getAppId()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getAppId()
    • setAppId

      public void setAppId(String appId)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getAppId()
    • getClusterId

      public String getClusterId()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getClusterId()
    • setClusterId

      public void setClusterId(String clusterId)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getClusterId()
    • getContentEncoding

      public String getContentEncoding()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getContentEncoding()
    • setContentEncoding

      public void setContentEncoding(String contentEncoding)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getContentEncoding()
    • getContentType

      public String getContentType()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getContentType()
    • setContentType

      public void setContentType(String contentType)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getContentType()
    • getCorrelationId

      public String getCorrelationId()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getCorrelationId()
    • setCorrelationId

      public void setCorrelationId(String correlationId)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getCorrelationId()
    • getDeliveryMode

      public String getDeliveryMode()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getDeliveryMode()

      Note that this should be an integer; it is defined as a String here for expression purposes.

    • setDeliveryMode

      public void setDeliveryMode(String deliveryMode)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getDeliveryMode()

      Note that this should be an integer; it is defined as a String here for expression purposes.

    • getExpiration

      public String getExpiration()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getExpiration()
    • setExpiration

      public void setExpiration(String expiration)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getExpiration()
    • getMessageId

      public String getMessageId()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getMessageId()
    • setMessageId

      public void setMessageId(String messageId)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getMessageId()
    • getPriority

      public String getPriority()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getPriority()

      Note that this should be an integer; it is defined as a String here for expression purposes.

    • setPriority

      public void setPriority(String priority)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getPriority()

      Note that this should be an integer; it is defined as a String here for expression purposes.

    • getReplyTo

      public String getReplyTo()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getReplyTo()
    • setReplyTo

      public void setReplyTo(String replyTo)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getReplyTo()
    • getTimestamp

      public String getTimestamp()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getTimestamp()

      Note that this should be an Date; it is defined as a String here for expression purposes. Ultimately we use DateFormatUtil.parse(String) to build a Date object.

    • setTimestamp

      public void setTimestamp(String timestamp)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getTimestamp()

      Note that this should be an Date; it is defined as a String here for expression purposes. Ultimately we use DateFormatUtil.parse(String) to build a Date object.

    • getType

      public String getType()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getType()
    • setType

      public void setType(String type)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getType()
    • getUserId

      public String getUserId()
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getUserId()
    • setUserId

      public void setUserId(String userId)
      Maps onto com.rabbitmq.client.AMQP.BasicProperties#getUserId()