powered by Jive Software

Unable to send the payload in pubsub

I am trying to send following payload to “testNode”

node.send(new PayloadItem("autoIncrement*" + System.currentTimeMillis(), new SimplePayload("book",
    "pubsub:test:book", "<book xmlns='pubsub:test:book'><title>Lord of the Rings</title></book>")));

I on receiver side (strophejs code) i am getting this

	xmlns="jabber:client" from="pubsub.xyz.com" to="hello@pubsub.xyz.com" id="Z6Vh7NoH">
		<items node="testNode">
			<item id="autoIncrement*1602072295295"></item>

I am using Smack 4.3.5 version

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.