Default value: 'none'
Example: --external = muc1.devel.tigase.org:passwd1:connect:5270:devel.tigase.org:accept:lb-class Example: --external = muc1.devel.tigase.org:passwd1:(connect|listen):5270:devel.tigase.org:(accept|client):lb-class:(plain|ssl)
Possible values: 'external domains parameters list.'
Description: This 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 connection. The above list is a simplified syntax. The full syntax looks like this:
--external = muc1.devel.tigase.org:passwd1:listen:5270
or
--external = muc1.devel.tigase.org:passwd1:connect:5270:devel.tigase.org:accept:lb-class
Definition of each colon separated part:
plain
socket (accepting unencrypted or TLS connections), ssl
socket (accepting SSL connections) or tls
(enforcing TLS connection)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:
--external=muc1.devel.tigase.org:passwd1:listen:5270,muc2.devel.tigase.org:passwd2,muc3.devel.tigase.org:passwd3
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 the 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