[JDEV] How to use EchoComponent of Marbles library?
Wojciech Dec
Wojciech.Dec at winuel.com.pl
Thu Sep 26 07:53:42 CDT 2002
Hi,
As in the subject.
The config below doesn't work. It seems to me the component even doesn't
connect because nothing happens if I change the secret in jabber.xml file.
How to configure jabber.xml to make EchoComponent working?
How to check it out? What address should I send a message to get echo
response
using client like Exodus?
Thanks in advance for any help.
Regards,
Wojciech Dec
==================== begin EchoComponent config ====================
ComponentConnectionInfo connect_info = new ComponentConnectionInfo(
"test2", // component name
"127.0.0.1", //hostname
"test2", // secret
null, // config namespace
8002, //port
true ); // outgoing
==================== end EchoComponent config ====================
==================== begin jabber.xml ====================
...
<service id="s2s">
...
</service>
...
<service id="test2">
<accept>
<ip/>
<port>8002</port>
<secret>test2</secret>
</accept>
</service>
...
==================== end jabber.xml ====================
More information about the JDev
mailing list