Default value: none
--external = muc1.devel.tigase.org:passwd1:connect:5270:devel.tigase.org:accept:lb-class
Possible values: external domains parameters list.
Description: The property defines parameters for external component connections.
The component is loaded the same way as all other Tigase components. In your
init.properties file you need to add 2 lines:
--comp-name-1 = ext --comp-class-1 = tigase.server.ext.ComponentProtocol
This will load the component with an empty configuration and is practically useless. You have to tell the component on what port to listen to (or on what port to connect to) and external domains list with passwords.
As a value you have to put comma separated list of external domains settings. Each domain settings consist of a few, colon separated parameters. For example:
--external = muc1.devel.tigase.org:passwd1,muc2.devel.tigase.org:passwd2
This sets passwords for 2 external domains but does not say anything about port number or about connection. The above list is a simplified syntax. The full syntax looks like this:
--external = muc1.devel.tigase.org:passwd1:listen:5270
--external = muc1.devel.tigase.org:passwd1:connect:5270:\ devel.tigase.org:accept:lb-class
Meaning of each colon separated part:
Only 2 first parts are mandatory, the rest is optional. The simplified form is used to provide a list of domains:password elements for external components connections.
The settings on the server side may most likely looks like this:
It specifies 3 domains with passwords and one TCP/IP port to listen to. On the other hand you can specify a configuration which would establish connection to the server:
--external = muc1.devel.tigase.org:passwd1:connect:5270:devel.tigase.org:accept
We use one of the domains configured on the server side, the same port number and the server address. (Assuming the main server works at devel.tigase.org address).
Available since: 4.3.0