Class RabbitMQEndpointBuilderFactory.RabbitMQHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.RabbitMQEndpointBuilderFactory.RabbitMQHeaderNameBuilder
-
- Enclosing interface:
- RabbitMQEndpointBuilderFactory
public static class RabbitMQEndpointBuilderFactory.RabbitMQHeaderNameBuilder extends Object
The builder of headers' name for the RabbitMQ component.
-
-
Constructor Summary
Constructors Constructor Description RabbitMQHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
messageTimestamp()
The timestamp of the RabbitMQ message.String
rabbitmqAppId()
The appId to set on the RabbitMQ message.String
rabbitmqClusterId()
The clusterId to set on the RabbitMQ message.String
rabbitmqContentEncoding()
The contentEncoding to set on the RabbitMQ message.String
rabbitmqContentType()
The contentType to set on the RabbitMQ message.String
rabbitmqCorrelationId()
The correlationId to set on the RabbitMQ message.String
rabbitmqDeliveryMode()
If the message should be persistent or not.String
rabbitmqDeliveryTag()
The rabbitmq delivery tag of the received message.String
rabbitmqExchangeName()
Consumer: The exchange the message was received from Producer: The exchange the message was received from.String
rabbitmqExchangeOverrideName()
Used for force sending the message to this exchange instead of the endpoint configured name on the producer.String
rabbitmqExpiration()
The expiration to set on the RabbitMQ message.String
rabbitmqImmediate()
The flag telling the server how to react if the message cannot be routed to a queue consumer immediately.String
rabbitmqMandatory()
The flag telling the server how to react if the message cannot be routed to a queue.String
rabbitmqMessageId()
The message id to set on the RabbitMQ message.String
rabbitmqPriority()
The priority header to set on the RabbitMQ message.String
rabbitmqRedeliveryTag()
Whether the message is a redelivered.String
rabbitmqReplyTo()
The replyTo to set on the RabbitMQ message.String
rabbitmqRequestTimeout()
The timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds).String
rabbitmqRequeue()
This is used by the consumer to control rejection of the message.String
rabbitmqRoutingKey()
Consumer: The routing key that was used to receive the message, or the routing key that will be used when producing a message Producer: The routing key that will be used when sending the message.String
rabbitmqTimestamp()
The timestamp to set on the RabbitMQ message.String
rabbitmqType()
The type to set on the RabbitMQ message.String
rabbitmqUserId()
The userId to set on the RabbitMQ message.
-
-
-
Method Detail
-
rabbitmqRoutingKey
public String rabbitmqRoutingKey()
Consumer: The routing key that was used to receive the message, or the routing key that will be used when producing a message Producer: The routing key that will be used when sending the message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqRoutingKey
.
-
rabbitmqExchangeOverrideName
public String rabbitmqExchangeOverrideName()
Used for force sending the message to this exchange instead of the endpoint configured name on the producer. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqExchangeOverrideName
.
-
rabbitmqExchangeName
public String rabbitmqExchangeName()
Consumer: The exchange the message was received from Producer: The exchange the message was received from. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqExchangeName
.
-
rabbitmqContentType
public String rabbitmqContentType()
The contentType to set on the RabbitMQ message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqContentType
.
-
rabbitmqPriority
public String rabbitmqPriority()
The priority header to set on the RabbitMQ message. The option is a:int
type. Group: common- Returns:
- the name of the header
RabbitmqPriority
.
-
rabbitmqDeliveryTag
public String rabbitmqDeliveryTag()
The rabbitmq delivery tag of the received message. The option is a:long
type. Group: common- Returns:
- the name of the header
RabbitmqDeliveryTag
.
-
rabbitmqRedeliveryTag
public String rabbitmqRedeliveryTag()
Whether the message is a redelivered. The option is a:boolean
type. Group: common- Returns:
- the name of the header
RabbitmqRedeliveryTag
.
-
rabbitmqCorrelationId
public String rabbitmqCorrelationId()
The correlationId to set on the RabbitMQ message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqCorrelationId
.
-
rabbitmqMessageId
public String rabbitmqMessageId()
The message id to set on the RabbitMQ message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqMessageId
.
-
rabbitmqDeliveryMode
public String rabbitmqDeliveryMode()
If the message should be persistent or not. The option is a:Integer
type. Group: common- Returns:
- the name of the header
RabbitmqDeliveryMode
.
-
rabbitmqUserId
public String rabbitmqUserId()
The userId to set on the RabbitMQ message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqUserId
.
-
rabbitmqClusterId
public String rabbitmqClusterId()
The clusterId to set on the RabbitMQ message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqClusterId
.
-
rabbitmqRequestTimeout
public String rabbitmqRequestTimeout()
The timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds). The option is a:long
type. Group: common- Returns:
- the name of the header
RabbitmqRequestTimeout
.
-
rabbitmqReplyTo
public String rabbitmqReplyTo()
The replyTo to set on the RabbitMQ message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqReplyTo
.
-
rabbitmqContentEncoding
public String rabbitmqContentEncoding()
The contentEncoding to set on the RabbitMQ message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqContentEncoding
.
-
rabbitmqType
public String rabbitmqType()
The type to set on the RabbitMQ message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqType
.
-
rabbitmqExpiration
public String rabbitmqExpiration()
The expiration to set on the RabbitMQ message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqExpiration
.
-
rabbitmqTimestamp
public String rabbitmqTimestamp()
The timestamp to set on the RabbitMQ message. The option is a:java.util.Date
type. Group: common- Returns:
- the name of the header
RabbitmqTimestamp
.
-
rabbitmqAppId
public String rabbitmqAppId()
The appId to set on the RabbitMQ message. The option is a:String
type. Group: common- Returns:
- the name of the header
RabbitmqAppId
.
-
rabbitmqRequeue
public String rabbitmqRequeue()
This is used by the consumer to control rejection of the message. When the consumer is complete processing the exchange, and if the exchange failed, then the consumer is going to reject the message from the RabbitMQ broker. The value of this header controls this behavior. If the value is false (by default) then the message is discarded/dead-lettered. If the value is true, then the message is re-queued. The option is a:boolean
type. Group: common- Returns:
- the name of the header
RabbitmqRequeue
.
-
rabbitmqMandatory
public String rabbitmqMandatory()
The flag telling the server how to react if the message cannot be routed to a queue. The option is a:Boolean
type. Group: common- Returns:
- the name of the header
RabbitmqMandatory
.
-
rabbitmqImmediate
public String rabbitmqImmediate()
The flag telling the server how to react if the message cannot be routed to a queue consumer immediately. The option is a:Boolean
type. Group: common- Returns:
- the name of the header
RabbitmqImmediate
.
-
messageTimestamp
public String messageTimestamp()
The timestamp of the RabbitMQ message. The option is a:long
type. Group: common- Returns:
- the name of the header
MessageTimestamp
.
-
-