Name | Kind | Type | Required | Deprecated | Default Value | Enum Values | Description |
---|---|---|---|---|---|---|---|
hostname | path | java.lang.String | true | false | The hostname of the running rabbitmq instance or cluster. | ||
portNumber | path | int | true | false | 5672 | Port number for the host with the running rabbitmq instance or cluster. Default value is 5672. | |
exchangeName | path | java.lang.String | true | false | The exchange name determines which exchange produced messages will sent to. In the case of consumers, the exchange name determines which exchange the queue will bind to. | ||
username | parameter | java.lang.String | false | guest | Username in case of authenticated access | ||
password | parameter | java.lang.String | false | guest | Password for authenticated access | ||
vhost | parameter | java.lang.String | false | / | The vhost for the channel | ||
threadPoolSize | parameter | int | false | 10 | The consumer uses a Thread Pool Executor with a fixed number of threads. This setting allows you to set that number of threads. | ||
autoAck | parameter | boolean | false | true | If messages should be auto acknowledged | ||
autoDelete | parameter | boolean | false | true | If it is true, the exchange will be deleted when it is no longer in use | ||
durable | parameter | boolean | false | true | If we are declaring a durable exchange (the exchange will survive a server restart) | ||
bridgeEndpoint | parameter | boolean | false | If the bridgeEndpoint is true, the producer will ignore the message header of "rabbitmq.EXCHANGE_NAME" and "rabbitmq.ROUTING_KEY" | |||
queue | parameter | java.lang.String | false | The queue to receive messages from | |||
exchangeType | parameter | java.lang.String | false | direct | direct fanout headers topic |
The exchange type such as direct or topic. | |
routingKey | parameter | java.lang.String | false | The routing key to use when binding a consumer queue to the exchange. For producer routing keys, you set the header rabbitmq.ROUTING_KEY. | |||
addresses | parameter | com.rabbitmq.client.Address[] | false | If this option is set, camel-rabbitmq will try to create connection based on the setting of option addresses. The addresses value is a string which looks like "server1:12345, server2:12345" | |||
connectionTimeout | parameter | int | false | 0 | Connection timeout | ||
requestedChannelMax | parameter | int | false | 0 | Connection requested channel max (max number of channels offered) | ||
requestedFrameMax | parameter | int | false | 0 | Connection requested frame max (max size of frame offered) | ||
requestedHeartbeat | parameter | int | false | 0 | Connection requested heartbeat (heart-beat in seconds offered) | ||
sslProtocol | parameter | java.lang.String | false | Enables SSL on connection, accepted value are `true`, `TLS` and 'SSLv3` | |||
trustManager | parameter | javax.net.ssl.TrustManager | false | Configure SSL trust manager, SSL should be enabled for this option to be effective | |||
clientProperties | parameter | java.util.Map |
false | Connection client properties (client info used in negotiating with the server) | |||
connectionFactory | parameter | com.rabbitmq.client.ConnectionFactory | false | To use a custom RabbitMQ connection factory. When this option is set, all connection options (connectionTimeout, requestedChannelMax...) set on URI are not used | |||
automaticRecoveryEnabled | parameter | java.lang.Boolean | false | Enables connection automatic recovery (uses connection implementation that performs automatic recovery when connection shutdown is not initiated by the application) | |||
networkRecoveryInterval | parameter | java.lang.Integer | false | Network recovery interval in milliseconds (interval used when recovering from network failure) | |||
topologyRecoveryEnabled | parameter | java.lang.Boolean | false | Enables connection topology recovery (should topology recovery be performed?) | |||
prefetchEnabled | parameter | boolean | false | Enables the quality of service on the RabbitMQConsumer side. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time | |||
prefetchSize | parameter | int | false | The maximum amount of content (measured in octets) that the server will deliver, 0 if unlimited. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time | |||
prefetchCount | parameter | int | false | The maximum number of messages that the server will deliver, 0 if unlimited. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time | |||
prefetchGlobal | parameter | boolean | false | 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 | |||
concurrentConsumers | parameter | int | false | 1 | Number of concurrent consumers when consuming from broker. (eg similar as to the same option for the JMS component). | ||
declare | parameter | boolean | false | true | If the option is true, camel declare the exchange and queue name and bind them together. If the option is false, camel won't declare the exchange and queue name on the server. | ||
deadLetterExchange | parameter | java.lang.String | false | The name of the dead letter exchange | |||
deadLetterRoutingKey | parameter | java.lang.String | false | The routing key for the dead letter exchange | |||
deadLetterQueue | parameter | java.lang.String | false | The name of the dead letter queue | |||
deadLetterExchangeType | parameter | java.lang.String | false | direct | direct fanout headers topic |
The type of the dead letter exchange | |
channelPoolMaxSize | parameter | int | false | 10 | Get maximum number of opened channel in pool | ||
channelPoolMaxWait | parameter | long | false | 1000 | Set the maximum number of milliseconds to wait for a channel from the pool | ||
mandatory | parameter | boolean | false | This flag tells the server how to react if the message cannot be routed to a queue. If this flag is set, the server will return an unroutable message with a Return method. If this flag is zero, the server silently drops the message. If the header is present rabbitmq.MANDATORY it will override this option. | |||
immediate | parameter | boolean | false | This flag tells the server how to react if the message cannot be routed to a queue consumer immediately. If this flag is set, the server will return an undeliverable message with a Return method. If this flag is zero, the server will queue the message, but with no guarantee that it will ever be consumed. If the header is present rabbitmq.IMMEDIATE it will override this option. | |||
queueArgsConfigurer | parameter | org.apache.camel.component.rabbitmq.ArgsConfigurer | false | Set the configurer for setting the queue args in Channel.queueDeclare | |||
exchangeArgsConfigurer | parameter | org.apache.camel.component.rabbitmq.ArgsConfigurer | false | Set the configurer for setting the exchange args in Channel.exchangeDeclare | |||
requestTimeout | parameter | long | false | Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds) | |||
requestTimeoutCheckerInterval | parameter | long | false | Set requestTimeoutCheckerInterval for inOut exchange | |||
transferException | parameter | boolean | false | When true and an inOut Exchange failed on the consumer side send the caused Exception back in the response | |||
exchangePattern | parameter | org.apache.camel.ExchangePattern | false | InOnly | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the default exchange pattern when creating an exchange | |
synchronous | parameter | boolean | false | false | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |