A Wishbone module to submit messages to an AMQP service.
Project description
__ __ __ .--.--.--|__.-----| |--| |--.-----.-----.-----. | | | | |__ --| | _ | _ | | -__| |________|__|_____|__|__|_____|_____|__|__|_____| =================================== wishbone_contrib.module.output.amqp =================================== Version: 3.1.0 Submits messages to AMQP. ------------------------- Submits messages to AMQP. Submits messages to an AMQP message broker. If <exchange> is not provided, no exchange will be created during initialisation. If <queue> is not provided, queue will be created during initialisation If <exchange> and <queue> are provided, they will both be created and bound during initialisation. Parameters:: - delivery_mode(int)(1) | Sets the delivery mode of the messages. - exchange(str)("") | The exchange to declare. - exchange_type(str)("direct") | The exchange type to create. (direct, topic, fanout) - exchange_durable(bool)(false) | Declare a durable exchange. - exchange_auto_delete(bool)(true) | If set, the exchange is deleted when all queues have finished using it. - exchange_passive(bool)(false) | If set, the server will not create the exchange. The client can use | this to check whether an exchange exists without modifying the server state. - exchange_arguments(dict)({}) | Additional arguments for exchange declaration. - heartbeat(int)(0) | Enable AMQP heartbeat. The value is the interval in seconds. | 0 disables heartbeat support. - host(str)("localhost:5672") | The host broker to connect to. - native_events(bool)(False) | Outgoing events should be native Wishbone events - parallel_streams(int)(1) | The number of outgoing parallel data streams. - password(str)("guest") | The password to authenticate. - payload(str)(None) | The string to submit. | If defined takes precedence over `selection`. - queue(str)("wishbone") | The queue to declare and bind to <exchange>. This will also the | the destination queue of the submitted messages unless | <routing_key> is set to another value and <exchange_type> is | "topic". - queue_arguments(dict)({}) | Additional arguments for queue declaration. - queue_auto_delete(bool)(true) | Whether to autodelete the queue. - queue_declare(bool)(true) | Whether to actually declare the queue. - queue_durable(bool)(false) | Declare a durable queue. - queue_exclusive(bool)(false) | Declare an exclusive queue. - routing_key(str)("") | The routing key to use when submitting messages. - selection(str)("data") | The part of the event to submit externally. - ssl(bool)(False) | If True expects SSL - user(str)("guest") | The username to authenticate. - vhost(str)("/") | The virtual host to connect to. Queues:: - inbox | Messages going to the defined broker.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file wishbone_output_amqp-3.0.3.tar.gz
.
File metadata
- Download URL: wishbone_output_amqp-3.0.3.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ceca98e8d9a594700ef2976594a025d46b54825017785ea52b0f19f7705860a |
|
MD5 | 9621760db51559e59010cdc758c89f77 |
|
BLAKE2b-256 | 3ea62346cff59bcb9235969ef9f425b7e85653eba48d3d4ae92199ff8d78b3bd |