Messenger

The messenger configuration at this time can only be made by manually editing the configuration file ‘gnm_cgi.conf’, this will be fixed soon.

Every broker defined should have a corresponding line in the messenger configuration file, the format of this line are as follow:

broker name@broker host:broker port
[:time-out][:packet size][:host filter option]

First three of them are mandatory, the others are optional and have the following meaning:

communication time-out (in seconds)
communication packet size (multiple of 1K)
client filtering option
0 – don’t filter client
1 – global allow clients (allow only clients present in ‘gnm_cgi.host’)
2 – global deny clients (deny all clients present in ‘gnm_cgi.host’)
3 – local allow clients (allow only clients present in ‘broker name.host’)
4 – local deny clients (deny all clients present in ‘broker name.host’)
error reporting option
0 – don’t use custom error reporting
1 – use global error file (‘gnm_cgi.err’)
2 – use local error file (‘broker name.err’)

Comments are closed.