Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Following are details on the listener parameters you can set:

ParameterDescriptionRequired
rabbitmq.connection.factoryThe name of the connection factory.Yes
rabbitmq.exchange.nameName of the RabbitMQ exchange to which the queue is bound. Use this parameter instead of rabbitmq.queue.routing.key, if you need to use the default exchange and publish to a queue.No
rabbitmq.queue.nameThe queue name to send or consume messages. If you do not specify this parameter, you need to specify the rabbitmq.queue.routing.key parameter.Yes
rabbitmq.queue.auto.ackWhether to automatically send back an acknowledgment when consuming messages from queue.No
rabbitmq.consumer.tagThe client­ generated consumer tag to establish context.No
rabbitmq.channel.consumer.qosThe consumer qos value. You need to specify this parameter only if the rabbitmq.queue.auto.ack parameter is set to false.No
rabbitmq.queue.durableWhether the queue should remain declared even if the broker restarts. No
rabbitmq.queue.exclusiveWhether the queue should be exclusive or should be consumable by other connections. No
rabbitmq.queue.auto.deleteWhether to keep the queue even if it is not being consumed anymore. No
rabbitmq.queue.routing.keyThe routing key of the queue. No
rabbitmq.exchange.typeThe type of the exchange. No
rabbitmq.exchange.durableWhether the exchange should remain declared even if the broker restarts. No
rabbitmq.exchange.auto.deleteWhether to keep the queue even if it is not used anymore. No
rabbitmq.message.content.type

The content type of the consumer.

Info
titleNote

If the content type is specified in the message, this parameter does not override the specified content type.

 No. The default value is text/xml.

...

rabbitmq.queue.autodeclareWhether to create queues if they are not present. However, you should set this parameter only if queues are declared prior on the broker. Setting this parameter in the publish URL to false improves RabbitMQ transport performance.No
rabbitmq.exchange.autodeclareWhether to create exchanges if they are not present. However, you should set this parameter only if exchanges are declared prior on the broker. Setting this parameter in the publish URL to false improves RabbitMQ transport performance.No


Anchor
senderParameters
senderParameters
Following are details on the sender parameters you can set:

ParameterDescriptionRequired
rabbitmq.server.host.nameHost name of the server.Yes
rabbitmq.server.portPort number of the server.Yes
rabbitmq.exchange.name

The name of the RabbitMQ exchange to which the queue is bound. Use this parameter instead of rabbitmq.queue.routing.key, if you need to use the default exchange and publish to a queue.

No
rabbitmq.queue.routing.keyThe exchange and queue binding key that will be used to route messages.No
rabbitmq.replyto.nameThe name of the call back­ queue. Specify this parameter if you expect a response.No
rabbitmq.queue.delivery.mode

The delivery mode of the queue. Possible values are 1 and 2.
1 - Non­-persistent.
2 - Persistent. This is the default value.

No
rabbitmq.exchange.typeThe type of the exchange.No
rabbitmq.queue.nameThe queue name to send or consume messages. If you do not specify this parameter, you need to specify the rabbitmq.queue.routing.key parameter.Yes
rabbitmq
.queue.durableWhether the queue should remain declared even if the broker restarts
.queue.durableWhether the queue should remain declared even if the broker restarts. The default value is false.No
rabbitmq.queue.exclusiveWhether the queue should be exclusive or should be consumable by other connections. The default value is falseNo
rabbitmq.queue.auto.deleteWhether to keep the queue even if it is not being consumed anymore. The default value is false.No
rabbitmq.
queue
exchange.
exclusive
durableWhether the
queue should be exclusive or should be consumable by other connections. The default value is false
exchange should remain declared even if the broker restarts.No
rabbitmq.queue.
auto.delete
autodeclareWhether to
keep the queue even if it is not being consumed anymore. The default value is false
create queues if they are not present. However, you should set this parameter only if queues are declared prior on the broker. Setting this parameter in the publish URL to false improves RabbitMQ transport performance.No
rabbitmq.exchange.
durable
autodeclareWhether
the exchange should remain declared even if the broker restarts
to create exchanges if they are not present. However, you should set this parameter only if exchanges are declared prior on the broker. Setting this parameter in the publish URL to false improves RabbitMQ transport performance.No

For the rabbitmq.server , properties refer to the server on which RabbitMQ is running.

...