Subject: PubSub help needed
Hi,
i'm trying to get a pubsub example to run, but it doesn't work.
So fare I have the following running:
I tried to configure PSI to listen to the new created pubsub node. But this doesn't work. I tried other Clients to, but still no success.
Does anybody know a good tutorial for getting pubsub running?
Thanks for your help.
Thorsten
i'm trying to get a pubsub example to run, but it doesn't work.
So fare I have the following running:
PubSubManager pubSubManager = new PubSubManager(locStreamCon.getXmppConnection());
Jid jidTo = new Jid("pubsub.immp3w1128");
String node = "/home/immp3w1128/Bot_LocationData;
Item payload = new Item("id12234");
payload.Value = "Test Message";
pubSubManager.CreateNode(jidTo,node, true,new IqCB(CreateNodeResult),null);
pubSubManager.PublishItem(jidTo, node, payload);
Jid jidTo = new Jid("pubsub.immp3w1128");
String node = "/home/immp3w1128/Bot_LocationData;
Item payload = new Item("id12234");
payload.Value = "Test Message";
pubSubManager.CreateNode(jidTo,node, true,new IqCB(CreateNodeResult),null);
pubSubManager.PublishItem(jidTo, node, payload);
I tried to configure PSI to listen to the new created pubsub node. But this doesn't work. I tried other Clients to, but still no success.
Does anybody know a good tutorial for getting pubsub running?
Thanks for your help.
Thorsten