Simple Case

The most common scenario is to connect an external component which works for a specific, given domain to the main server. The component authenticates with a defined password and the external component connects to a TCP/IP port the server listens on.

For example lat’s say our server works for a virtual domain: We want it to listen on port 5270 for incoming connections from an external component working for a domain: The authentication password for the domain is muc-secret.

For such a scenario we need 3 lines in the file:

--comp-name-1 = ext
--comp-class-1 = tigase.server.ext.ComponentProtocol
--external =