host
AMQP Connector Reference
Support Category: Select
AMQP Connector v3.9.0
Exchange: AMQP Connector
This document lists and describes all of the configuration parameters supported by the AMQP connector, as well as all AMQP endpoint configuration elements.
Connector Attributes
The AMQP connector defines what broker to connect to, which credentials to use when connecting, and all the common properties used by the inbound and outbound endpoints that use this connector.
You can create several connectors connected to the same broker for the purpose of having different sets of common properties that endpoints can use.
Name | Description |
---|---|
The main AMQP broker host to connect to. Type: string |
|
|
The port to use to connect to the main AMQP broker. Type: port number |
|
A comma-separated list of hosts (brokers), listed as Type: string |
|
The virtual host to connect to on the AMQP broker. Type: string |
|
The user name to use to connect to on the AMQP broker. Type: string |
|
The password to use to connect to the AMQP broker. Type: string |
|
The delivery mode to use when publishing to the AMQP broker. Possible values are:
Type: integer |
|
The priority to use when publishing to the AMQP broker. The priority has possible values from Type: byte |
|
Tells the server how to react if the message cannot be routed to a queue. If set to true, the server throws an exception for any message that cannot be routed. If set to false, the server silently drops the message. Type: boolean |
|
Tells the server how to react if the message cannot be routed to a queue consumer immediately. If set to true, the server throws an exception for any undeliverable message. If set to false, the server queues the message, but with no guarantee that the message will ever be consumed. Type: boolean |
|
Reference to an endpoint to which an AMQP returned message should be dispatched to. Type: string |
|
The acknowledgment mode to use when consuming from the AMQP broker. Possible values are:
Type: string |
|
The maximum amount of content (measured in octets) that the server delivers. 0 means unlimited. Type: integer |
|
The maximum number of messages that the server delivers. 0 means unlimited. Type: integer |
|
If set to true, the server does not send messages to the connection that published them. Type: boolean |
|
Set to true if the connector should only create exclusive consumers. Type: boolean |
|
The number of channels that are spawned per inbound endpoint to receive AMQP messages. Default value is 4. Type: integer |
|
Defines if the connector should only do active exchange and queue declarations, or if it should perform passive declarations to enforce the existence of the queue or exchange. Possible values:
Although this attribute is normally not set (its default value is
Note: The AMQP connector does not create queues or exchanges if they do not exist. For a discussion on active versus passive declarations, see Passive or active queues? Type: boolean |
|
Defines if the listeners will only consume messages when deployed in a primary polling node in a clustered environment. This feature is only in AMQP version 3.9.0 and later. Type: boolean |
Endpoint Attributes
Endpoint attributes are interpreted differently if they are used on inbound or outbound endpoints. For example, on an inbound endpoint the attribute routingKey
is used for queue binding, and on an outbound endpoint, it is used as a basic publish parameter.
Name | Description |
---|---|
|
The exchange to publish to or bind queues to. Use Type: string |
|
Name of the queue to consume from. Leave blank or omit for using a new private exclusive server-named queue. Type: string |
|
Comma-separated routing keys to use when binding a queue or publishing a message. Type: string |
|
A client-generated consumer tag to establish context. Type: string |
|
The type of exchange to be declared. Possible values are:
Type: string |
|
The durability of the declared exchange. A durable exchange survives a broker restart. Type: boolean |
|
Specifies if the declared exchange should be autodeleted. Type: boolean |
|
The number of channels that are spawned for this inbound endpoint to receive AMQP messages. If not present, the value defined in the connector is used. Otherwise, it is Type: integer |
|
Specifies if the declared queue is durable. A durable queue persists to disk and survives a broker restart. Note: Messages routed to the queue are not durable. Type: boolean |
|
Specifies if the declared queue should be autodeleted. Type: boolean |
|
Specifies if the declared queue is exclusive. Type: boolean |