Suppose you want to connect more than one external component. Let’s say you want to connect PubSub and MSN components to the Tigase server as well.
In such a case you don’t have to open another port on the server. All the components can connect to the same port. Of course each of the components connect for a different domain and probably should use a different password.
Let’s say then that we want the Tigase server accept two more domains with corresponding passwords: (pubsub.devel.tigase.org:pubsub_pass) and (msn.devel.tigase.org:msn_pass). Your counfiguration properties should look like this:
--comp-name-1 = ext --comp-class-1 = tigase.server.ext.ComponentProtocol --external = muc.devel.tigase.org:muc-secret:listen:5270, \ pubsub.devel.tigase.org:pubsub_pass, \ msn.devel.tigase.org:msn_pass
Please note, the --external property with value should be written in a single line. Above example has split the line for readibility.