public static interface RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder extends ComponentBuilder<org.apache.camel.component.rabbitmq.RabbitMQComponent>
| Modifier and Type | Method and Description |
|---|---|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
addresses(String addresses)
If this option is set, camel-rabbitmq will try to create connection
based on the setting of option addresses.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
allowNullHeaders(boolean allowNullHeaders)
Allow pass null values to header.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
args(Map<String,Object> args)
Specify arguments for configuring the different RabbitMQ concepts, a
different prefix is required for each: Exchange: arg.exchange.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
autoAck(boolean autoAck)
If messages should be auto acknowledged.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
autoDelete(boolean autoDelete)
If it is true, the exchange will be deleted when it is no longer in
use.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
autoDetectConnectionFactory(boolean autoDetectConnectionFactory)
Whether to auto-detect looking up RabbitMQ connection factory from
the registry.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
automaticRecoveryEnabled(Boolean automaticRecoveryEnabled)
Enables connection automatic recovery (uses connection implementation
that performs automatic recovery when connection shutdown is not
initiated by the application).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
channelPoolMaxSize(int channelPoolMaxSize)
Get maximum number of opened channel in pool.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
channelPoolMaxWait(long channelPoolMaxWait)
Set the maximum number of milliseconds to wait for a channel from the
pool.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
clientProperties(Map<String,Object> clientProperties)
Connection client properties (client info used in negotiating with
the server).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
connectionFactory(com.rabbitmq.client.ConnectionFactory connectionFactory)
To use a custom RabbitMQ connection factory.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
connectionFactoryExceptionHandler(com.rabbitmq.client.ExceptionHandler connectionFactoryExceptionHandler)
Custom rabbitmq ExceptionHandler for ConnectionFactory.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
connectionTimeout(int connectionTimeout)
Connection timeout.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
deadLetterExchange(String deadLetterExchange)
The name of the dead letter exchange.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
deadLetterExchangeType(String deadLetterExchangeType)
The type of the dead letter exchange.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
deadLetterQueue(String deadLetterQueue)
The name of the dead letter queue.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
deadLetterRoutingKey(String deadLetterRoutingKey)
The routing key for the dead letter exchange.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
declare(boolean declare)
If the option is true, camel declare the exchange and queue name and
bind them together.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
durable(boolean durable)
If we are declaring a durable exchange (the exchange will survive a
server restart).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
exclusive(boolean exclusive)
Exclusive queues may only be accessed by the current connection, and
are deleted when that connection closes.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
exclusiveConsumer(boolean exclusiveConsumer)
Request exclusive access to the queue (meaning only this consumer can
access the queue).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
guaranteedDeliveries(boolean guaranteedDeliveries)
When true, an exception will be thrown when the message cannot be
delivered (basic.return) and the message is marked as mandatory.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
hostname(String hostname)
The hostname of the running RabbitMQ instance or cluster.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
immediate(boolean immediate)
This flag tells the server how to react if the message cannot be
routed to a queue consumer immediately.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
mandatory(boolean mandatory)
This flag tells the server how to react if the message cannot be
routed to a queue.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
networkRecoveryInterval(Integer networkRecoveryInterval)
Network recovery interval in milliseconds (interval used when
recovering from network failure).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
passive(boolean passive)
Passive queues depend on the queue already to be available at
RabbitMQ.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
password(String password)
Password for authenticated access.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
portNumber(int portNumber)
Port number for the host with the running rabbitmq instance or
cluster.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
prefetchCount(int prefetchCount)
The maximum number of messages that the server will deliver, 0 if
unlimited.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
prefetchEnabled(boolean prefetchEnabled)
Enables the quality of service on the RabbitMQConsumer side.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
prefetchGlobal(boolean prefetchGlobal)
If the settings should be applied to the entire channel rather than
each consumer You need to specify the option of prefetchSize,
prefetchCount, prefetchGlobal at the same time.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
prefetchSize(int prefetchSize)
The maximum amount of content (measured in octets) that the server
will deliver, 0 if unlimited.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
publisherAcknowledgements(boolean publisherAcknowledgements)
When true, the message will be published with publisher
acknowledgements turned on.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
publisherAcknowledgementsTimeout(long publisherAcknowledgementsTimeout)
The amount of time in milliseconds to wait for a basic.ack response
from RabbitMQ server.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
requestedChannelMax(int requestedChannelMax)
Connection requested channel max (max number of channels offered).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
requestedFrameMax(int requestedFrameMax)
Connection requested frame max (max size of frame offered).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
requestedHeartbeat(int requestedHeartbeat)
Connection requested heartbeat (heart-beat in seconds offered).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
requestTimeout(long requestTimeout)
Set timeout for waiting for a reply when using the InOut Exchange
Pattern (in milliseconds).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
requestTimeoutCheckerInterval(long requestTimeoutCheckerInterval)
Set requestTimeoutCheckerInterval for inOut exchange.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
skipExchangeDeclare(boolean skipExchangeDeclare)
This can be used if we need to declare the queue but not the
exchange.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
skipQueueBind(boolean skipQueueBind)
If true the queue will not be bound to the exchange after declaring
it.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
skipQueueDeclare(boolean skipQueueDeclare)
If true the producer will not declare and bind a queue.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
sslProtocol(String sslProtocol)
Enables SSL on connection, accepted value are true, TLS and 'SSLv3.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
threadPoolSize(int threadPoolSize)
The consumer uses a Thread Pool Executor with a fixed number of
threads.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
topologyRecoveryEnabled(Boolean topologyRecoveryEnabled)
Enables connection topology recovery (should topology recovery be
performed).
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
transferException(boolean transferException)
When true and an inOut Exchange failed on the consumer side send the
caused Exception back in the response.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
trustManager(TrustManager trustManager)
Configure SSL trust manager, SSL should be enabled for this option to
be effective.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
username(String username)
Username in case of authenticated access.
|
default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder |
vhost(String vhost)
The vhost for the channel.
|
build, build, doSetProperty, registerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder addresses(String addresses)
java.lang.String type.
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder autoDelete(boolean autoDelete)
boolean type.
Default: true
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder connectionFactory(com.rabbitmq.client.ConnectionFactory connectionFactory)
com.rabbitmq.client.ConnectionFactory
type.
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder deadLetterExchange(String deadLetterExchange)
java.lang.String type.
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder deadLetterExchangeType(String deadLetterExchangeType)
java.lang.String type.
Default: direct
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder deadLetterQueue(String deadLetterQueue)
java.lang.String type.
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder deadLetterRoutingKey(String deadLetterRoutingKey)
java.lang.String type.
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder declare(boolean declare)
boolean type.
Default: true
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder durable(boolean durable)
boolean type.
Default: true
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder exclusive(boolean exclusive)
boolean type.
Default: false
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder hostname(String hostname)
java.lang.String type.
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder passive(boolean passive)
boolean type.
Default: false
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder portNumber(int portNumber)
int type.
Default: 5672
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder skipExchangeDeclare(boolean skipExchangeDeclare)
boolean type.
Default: false
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder skipQueueBind(boolean skipQueueBind)
boolean type.
Default: false
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder skipQueueDeclare(boolean skipQueueDeclare)
boolean type.
Default: false
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder vhost(String vhost)
java.lang.String type.
Default: /
Group: commondefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder autoAck(boolean autoAck)
boolean type.
Default: true
Group: consumerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder exclusiveConsumer(boolean exclusiveConsumer)
boolean type.
Default: false
Group: consumerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder prefetchCount(int prefetchCount)
int type.
Group: consumerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder prefetchEnabled(boolean prefetchEnabled)
boolean type.
Default: false
Group: consumerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder prefetchGlobal(boolean prefetchGlobal)
boolean type.
Default: false
Group: consumerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder prefetchSize(int prefetchSize)
int type.
Group: consumerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder threadPoolSize(int threadPoolSize)
int type.
Default: 10
Group: consumer (advanced)default RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder allowNullHeaders(boolean allowNullHeaders)
boolean type.
Default: false
Group: producerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder channelPoolMaxSize(int channelPoolMaxSize)
int type.
Default: 10
Group: producerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder channelPoolMaxWait(long channelPoolMaxWait)
long type.
Default: 1000
Group: producerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder guaranteedDeliveries(boolean guaranteedDeliveries)
boolean type.
Default: false
Group: producerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder immediate(boolean immediate)
boolean type.
Default: false
Group: producerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder mandatory(boolean mandatory)
boolean type.
Default: false
Group: producerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder publisherAcknowledgements(boolean publisherAcknowledgements)
boolean type.
Default: false
Group: producerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder publisherAcknowledgementsTimeout(long publisherAcknowledgementsTimeout)
long type.
Group: producerdefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder args(Map<String,Object> args)
java.util.Map type.
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder autoDetectConnectionFactory(boolean autoDetectConnectionFactory)
boolean type.
Default: true
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder automaticRecoveryEnabled(Boolean automaticRecoveryEnabled)
java.lang.Boolean type.
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder clientProperties(Map<String,Object> clientProperties)
java.util.Map type.
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder connectionFactoryExceptionHandler(com.rabbitmq.client.ExceptionHandler connectionFactoryExceptionHandler)
com.rabbitmq.client.ExceptionHandler
type.
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder connectionTimeout(int connectionTimeout)
int type.
Default: 60000
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder networkRecoveryInterval(Integer networkRecoveryInterval)
java.lang.Integer type.
Default: 5000
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder requestedChannelMax(int requestedChannelMax)
int type.
Default: 2047
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder requestedFrameMax(int requestedFrameMax)
int type.
Default: 0
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder requestedHeartbeat(int requestedHeartbeat)
int type.
Default: 60
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder requestTimeout(long requestTimeout)
long type.
Default: 20000
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder requestTimeoutCheckerInterval(long requestTimeoutCheckerInterval)
long type.
Default: 1000
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder topologyRecoveryEnabled(Boolean topologyRecoveryEnabled)
java.lang.Boolean type.
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder transferException(boolean transferException)
boolean type.
Default: false
Group: advanceddefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder password(String password)
java.lang.String type.
Default: guest
Group: securitydefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder sslProtocol(String sslProtocol)
java.lang.String type.
Group: securitydefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder trustManager(TrustManager trustManager)
javax.net.ssl.TrustManager type.
Group: securitydefault RabbitmqComponentBuilderFactory.RabbitmqComponentBuilder username(String username)
java.lang.String type.
Default: guest
Group: securityApache Camel