-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello, folks!
I'm playing with Datashare API over XMPP-container and have some
problems.
I create ecf.xmpp.smack container, connect to my jabber account
"samolisov@xxxxx" (connect fine, I watch myself online), create channel
with name "channel"
IChannelContainerAdapter channelContainer = (IChannelContainerAdapter)
_container.getAdapter(IChannelContainerAdapter.class);
channelContainer.createChannel(getNewID(CHANNEL_NAME),
getChannelListener(), null);
Bundle keep run.
Late, I start this bundle with another config: I create ecf.xmpp.smack
container, connect to my jabber account "samolisov@xxxxxxxxx" (connect
fine, I watch myself online) and create channel with name "channel".
And send message over channel to my another account:
IChannel sender = getChannel();
System.out.println("to = " + System.getProperty(XMPP_TO_ID));
sender.sendMessage(IDFactory.getDefault().createID(IDFactory.getDefault().getNamespaceByName(XMPP_NAMESPACE),"samolisov@ya,ru")
,"Hello!".getBytes());
Now are running two bundles with two containers.
But! This data has sended to my container (i.e. container that send this
data: "samolisov@xxxxxxxxx") and do not received by container that I
send this message ("samolisov@xxxxx").