Example Syntax

As described in Example, an administrator might configure these routes on the central order server:

setprop route Canada outgoing_topic="orders" selector="country='Canada'"
setprop route Mexico outgoing_topic="orders" selector="country='Mexico'"
setprop route USA    outgoing_topic="orders" selector="country='USA'"

Those commands would create these entries in routes.conf:

[Canada]
url=ssl://canada:7222
outgoing_topic=orders selector="country='Canada'"
...
[Mexico]
url=ssl://mexico:7222
outgoing_topic=orders selector="country='Mexico'"
...
[USA]
url=ssl://usa:7222
outgoing_topic=orders selector="country='USA'"
...