They mean different things on a vendor and on a listener
Both kinds of worker take the same verbs, and the same verb does a different job on each — which is the point. A vendor is somewhere traffic goes; a listener is where traffic comes from, and it also carries receipts back to a customer. So “stop sending” on one is not the same act as on the other.On a vendor
On a listener
Choosing between them
Stop sending on a vendor — it is misbehaving and you have another
Stop sending on a vendor — it is misbehaving and you have another
The right default for a vendor problem. New traffic finds an alternative route immediately and the
session stays bound, so you can test it without a fresh bind.Expect total outbound volume to stay flat, because the traffic went somewhere else rather than
stopping — look at the other vendors’ counters, not the total, to confirm it worked.
Stop sending on a listener — you want the messages, just not yet
Stop sending on a listener — you want the messages, just not yet
For a short window where you would rather hold a customer’s traffic than refuse it: a route being
edited, a vendor being swapped. The customer sees nothing wrong, and every message is delivered when
you resume.
Hold on a listener — you want the traffic to stop arriving
Hold on a listener — you want the traffic to stop arriving
The stronger control, and the safer one for anything longer than a moment. Nothing is accepted,
nothing is charged, and nothing accumulates on this gateway. The customer’s own stack holds their
backlog and retries, which is where a backlog belongs.
Disable — take it out of service entirely
Disable — take it out of service entirely
The worker leaves
/ops/health completely, which is worth knowing before you go looking for it in a
dashboard and conclude something has crashed.Use it when you want the worker gone rather than paused.These are runtime state, not configuration
Testing a vendor before you trust it
Dropping one customer’s bind
A listener session can be disconnected by id. A vendor session cannot — that answers409,
because the guard is the worker kind rather than the presence of a session id.
Disabling a login also drops its live binds, which is the difference between “they cannot reconnect”
and “they are gone now”.
Related
Live health
Reading
queue_depth, bound_transmittable and last_error.Reloading configuration
The other way to change what the gateway is doing.