Target Class
Represents an AMQP Target endpoint.
Constructor
Target(address, encoding='UTF-8')
Parameters
| Name | Description |
|---|---|
|
address
Required
|
An AMQP endpoint URL. |
|
encoding
|
The encoding used if address is supplied as a str rather than bytes. Default is UTF-8. Default value: UTF-8
|
Variables
| Name | Description |
|---|---|
|
address
|
The endpoint URL. |
|
durable
|
Whether the endpoint is durable. |
|
expiry_policy
|
The endpoint expiry policy |
|
timeout
|
The endpoint timeout in seconds. |
|
dynamic
|
Whether the endpoint is dynamic. |
|
distribution_mode
|
The endpoint distribution mode. |
Methods
| from_c_obj |
from_c_obj
from_c_obj(c_value, encoding='UTF-8')
Parameters
| Name | Description |
|---|---|
|
c_value
Required
|
|
|
encoding
|
Default value: UTF-8
|