File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,10 @@ You can enable (all) logging using:
7171msgflo-nodejs has a transport abstraction layer. So to support a new messaging system,
7272implement ` Client ` and ` MessageBroker ` [ interfaces] ( ./src/interfaces.coffee ) .
7373
74- You can then pass these into a ` Participant ` .
74+ You can then pass the Client instance into a ` Participant ` .
7575
76- Or you can use ` msgflo.transport.register('mytransport', myTransportModule) ` , and then ` msgflo.transport.getClient('mysystem://somehost:666') ` .
77- This will also work for specifying ` msgflo-nodejs --broker ` and for ` MSGFLO_BROKER= ` environment variable.
76+ Or you can register a new transport using ` msgflo.transport.register('mytransport', myTransportModule) ` .
77+ Then you can get a Client instance using ` msgflo.transport.getClient('mytransport://somehost:666') ` .
78+ This has the advantage of also working when specifying the broker URL using
79+ ` msgflo-nodejs --broker ` or ` MSGFLO_BROKER= ` environment variable.
7880
You can’t perform that action at this time.
0 commit comments