setSelectorAtBroker procedure

Sets message filtering at the SonicMQ Broker (instead of the SonicMQ client).

Syntax

PROCEDURE setSelectorAtBroker.
DEFINE INPUT PARAMETER seq AS LOGICAL.

Applies to

Session objects

Notes

  • Since the SonicMQ Broker typically runs on a machine with more resources than the machine running the SonicMQ client, it is desirable to have the SonicMQ Broker provide this filtering instead of the SonicMQ client.
  • SonicMQ messages can be filtered so that only those meeting a specific criteria will be received. For point-to-point sessions, this filtering is always done by the SonicMQ Broker. For publish/subscribe sessions, this filtering is done by the SonicMQ client by default.
  • This procedure must be called before beginSession procedure.

See also

setSelectorAtBroker procedure, getSelectorAtBroker function

For more information, see the Message selectors.