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 StringmessageTimestamp()The timestamp of the RabbitMQ message.StringrabbitmqAppId()The appId to set on the RabbitMQ message.StringrabbitmqClusterId()The clusterId to set on the RabbitMQ message.StringrabbitmqContentEncoding()The contentEncoding to set on the RabbitMQ message.StringrabbitmqContentType()The contentType to set on the RabbitMQ message.StringrabbitmqCorrelationId()The correlationId to set on the RabbitMQ message.StringrabbitmqDeliveryMode()If the message should be persistent or not.StringrabbitmqDeliveryTag()The rabbitmq delivery tag of the received message.StringrabbitmqExchangeName()Consumer: The exchange the message was received from Producer: The exchange the message was received from.StringrabbitmqExchangeOverrideName()Used for force sending the message to this exchange instead of the endpoint configured name on the producer.StringrabbitmqExpiration()The expiration to set on the RabbitMQ message.StringrabbitmqImmediate()The flag telling the server how to react if the message cannot be routed to a queue consumer immediately.StringrabbitmqMandatory()The flag telling the server how to react if the message cannot be routed to a queue.StringrabbitmqMessageId()The message id to set on the RabbitMQ message.StringrabbitmqPriority()The priority header to set on the RabbitMQ message.StringrabbitmqRedeliveryTag()Whether the message is a redelivered.StringrabbitmqReplyTo()The replyTo to set on the RabbitMQ message.StringrabbitmqRequestTimeout()The timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds).StringrabbitmqRequeue()This is used by the consumer to control rejection of the message.StringrabbitmqRoutingKey()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.StringrabbitmqTimestamp()The timestamp to set on the RabbitMQ message.StringrabbitmqType()The type to set on the RabbitMQ message.StringrabbitmqUserId()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:Stringtype. 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:Stringtype. 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:Stringtype. 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:Stringtype. 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:inttype. 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:longtype. Group: common- Returns:
- the name of the header
RabbitmqDeliveryTag.
-
rabbitmqRedeliveryTag
public String rabbitmqRedeliveryTag()
Whether the message is a redelivered. The option is a:booleantype. 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:Stringtype. 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:Stringtype. 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:Integertype. 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:Stringtype. 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:Stringtype. 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:longtype. 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:Stringtype. 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:Stringtype. 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:Stringtype. 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:Stringtype. 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.Datetype. 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:Stringtype. 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:booleantype. 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:Booleantype. 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:Booleantype. Group: common- Returns:
- the name of the header
RabbitmqImmediate.
-
messageTimestamp
public String messageTimestamp()
The timestamp of the RabbitMQ message. The option is a:longtype. Group: common- Returns:
- the name of the header
MessageTimestamp.
-
-