List Info

Thread: Cometd - Unsubscribe Problem




Cometd - Unsubscribe Problem
user name
2007-10-18 04:50:45
Hi,

I use dojo to subscribe to channels and to publish messages
at the
cometd server. But now i have a problem. When i want to
unsubscribe a
channel, dojo unsubscribe the channel on client side but the
channel
wasn't unsubscribed on server-side. so, when i resubscribe
the same
channel i got the published messages two oder 5 times.

have i done something wrong?

Cheers
Gerby


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-users" group.
To post to this group, send email to cometd-usersgooglegroups.com
To unsubscribe from this group, send email to
cometd-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/cometd-users

Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---


Re: Cometd - Unsubscribe Problem
user name
2007-10-18 05:19:53
I have set a listener in my web.xml which is looking for
new
unsubscribe-messages, which i receive at the cometd-server,
but the
received data object is null.
is this correct? or is this the problem, why the server
doesn't
unsubscribe the channels?


On 18 Okt., 11:50, Gerby <stephan.gerb...googlemail.com> wrote:
> Hi,
>
> I use dojo to subscribe to channels and to publish
messages at the
> cometd server. But now i have a problem. When i want to
unsubscribe a
> channel, dojo unsubscribe the channel on client side
but the channel
> wasn't unsubscribed on server-side. so, when i
resubscribe the same
> channel i got the published messages two oder 5 times.
>
> have i done something wrong?
>
> Cheers
> Gerby


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-users" group.
To post to this group, send email to cometd-usersgooglegroups.com
To unsubscribe from this group, send email to
cometd-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/cometd-users

Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---


Re: Cometd - Unsubscribe Problem
user name
2007-10-18 06:52:51
I've found the solution of my problem there ->
http://trac.dojotoolkit.org/attachment/
ticket/3895/dojox-cometd-fix.patch

On 18 Okt., 12:19, Gerby <stephan.gerb...googlemail.com> wrote:
> I have set a listener in my web.xml which is looking
for new
> unsubscribe-messages, which i receive at the
cometd-server, but the
> received data object is null.
> is this correct? or is this the problem, why the server
doesn't
> unsubscribe the channels?
>
> On 18 Okt., 11:50, Gerby <stephan.gerb...googlemail.com> wrote:
>
> > Hi,
>
> > I use dojo to subscribe to channels and to publish
messages at the
> > cometd server. But now i have a problem. When i
want to unsubscribe a
> > channel, dojo unsubscribe the channel on client
side but the channel
> > wasn't unsubscribed on server-side. so, when i
resubscribe the same
> > channel i got the published messages two oder 5
times.
>
> > have i done something wrong?
>
> > Cheers
> > Gerby


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-users" group.
To post to this group, send email to cometd-usersgooglegroups.com
To unsubscribe from this group, send email to
cometd-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/cometd-users

Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )