-
Notifications
You must be signed in to change notification settings - Fork 189
postal.configuration
ifandelse edited this page May 10, 2014
·
6 revisions
The postal.configuration
object provides the concrete implementations of the bindingsResolver as well as 'constant' values used throughout postal (attached here to allow plugins to take advantage of those values).
###postal.configuration members:
Member | Description |
---|---|
resolver |
postal provides a default implementation called bindingsResolver . The resolver is the mechanism by which published message topics are matched to the subscribers which should receive the message. The resolver can be swapped out with a custom implementation (NOTE: postal v0.7.0 is slated to ship with a new resolver that matches the AMQP binding semantics exactly.) |
DEFAULT_CHANNEL |
a "constant" value of "/", which is provided to channel objects where the channel name has not been explicitly provided. |
SYSTEM_CHANNEL |
a "constant" value of "postal", and is used for internal, postal-specific messaging. For example, subscription.created and subscription.removed messages are published on this channel as SubscriptionDefinition s are created and unsubscribed, respectively. |