The base class for connection, session, and link.
Every AMQP endpoint starts out in an uninitialized state and then proceeds linearly to an active and then closed state. This lifecycle occurs at both endpoints involved, and so the state model for an endpoint includes not only the known local state but also the last known state of the remote endpoint.
The local and remote peers each maintain a set of corresponding local and remote endpoints. Each peer evaluates and reconciles remote endpoint state changes as they are communicated over the wire.
Related: Class endpoint-options, Class connection, Class session, Class link
Implementations: C++, Java, Python
AMQP: Conceptual overview
Property | Summary | Type | Default value | Mutable | Nullable |
---|---|---|---|---|---|
container | The container holding this endpoint object | container | instance | ☐ | ☐ |
Property | Summary | Type | Default value | Mutable | Nullable |
---|---|---|---|---|---|
state | The remote endpoint state | endpoint-state | discovered | ☐ | ☐ |
error | The remote endpoint error condition | error-condition | discovered | ☐ | ☒ |
Method | Summary | Inputs | Outputs |
---|---|---|---|
add-work | Register a function to be called | function |
Property | Summary | Type | Default value | Mutable | Nullable |
---|---|---|---|---|---|
properties | Application-defined properties | map of symbol ⇒ object | discovered | ☐ | ☒ |
offered-capabilities | Extensions the endpoint supports | array of symbol | discovered | ☐ | ☒ |
desired-capabilities | Extensions the endpoint can use | array of symbol | discovered | ☐ | ☒ |