Skip navigation
240 Views 0 Replies Latest reply: Jan 20, 2012 7:46 AM by phan tuan son RSS
phan tuan son Bronze 3 posts since
Jan 20, 2012
Currently Being Moderated

Jan 20, 2012 7:46 AM

Can not receive message in pubsub

Hi all,

I'm developing pubsub to send broadcast message to all subscribed client on flex.

Here is node, which i created in OpenFire:

ofpubsubnode table:

 

serviceID  

  

nodeID  

  

leaf  

  

creationDate  

  

modificationDate  

  

parent  

  

deliverPayloads  

  

maxPayloadSize  

  

persistItems  

  

maxItems  

  

notifyConfigChanges  

  

notifyDelete  

  

notifyRetract  

  

presenceBased  

  

sendItemSubscribe  

  

publisherModel  

  

subscriptionEnabled  

  

configSubscription  

  

accessModel  

  

payloadType  

  

bodyXSLT  

  

dataformXSLT  

  

creator  

  

description  

  

language  

  

name  

  

replyPolicy  

  

associationPolicy  

  

maxLeafNodes  

  

pubsub

 

TestNode1111

 

1

 

001326969557310

 

001326969557310

 

 

1

 

5120

 

1

 

-1

 

1

 

1

 

1

 

0

 

1

 

subscribers

 

1

 

0

 

open

 

 

 

 

sonpt@sonpt-pc/Smack

 

 

English

 

 

NULL

 

all

 

0

 

 

 

I run my program, login and subscribe to TestNode1111 sucessfully by user "ttt".

Then open program again login and subscribe to TestNode1111 sucessfully by user "sonpt".

Please look at tables below:


opubsubsubscription table

 

serviceID  

  

nodeID  

  

id  

  

jid  

  

owner  

  

state  

  

deliver  

  

digest  

  

digest_frequency  

  

expire  

  

includeBody  

  

showValues  

  

subscriptionType  

  

subscriptionDepth  

  

keyword  

  

pubsub

 

TestNode1111

 

txnJSatO49cgAwlXn60pmOm9U2Woet3grbGhFNOj

 

sonpt@sonpt-pc

 

sonpt@sonpt-pc

 

subscribed

 

1

 

0

 

86400000

 

NULL

 

0

 

 

 

 

nodes


1
NULL

pubsub

 

TestNode1111

 

1bc1zId2hJ498QcSck5mmL7ByKxBGLbjts66LPfW

 

ttt@sonpt-pc

 

ttt@sonpt-pc

 

subscribed

 

1

 

0

 

86400000

 
NULL0
nodes1NULL

 

 

 

And i publish by user "ttt" to TestNode1111 sucessfully.

ofpubsubitem table

 

serviceID  

  

nodeID  

  

id  

  

jid  

  

creationDate  

  

payload  

  

pubsub

 

TestNode1111

 

dQfcB421aLqN2uB

 

ttt@sonpt-pc/xiff

 

001327044027069

 

<message  xmlns="http://jabber.org/protocol/pubsub"

 

 

 

 

However user "sonpt" doesn't receive any message.

 

people, have you got any idea why?

 

Thankyou so much.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points