Hi guys,

I learn that (at least in Java) ChannelService.sendMessage will throw
exception when sending to non-existent channel (i.e. channelId no
longer valid).

Now assume this situation:
Every time someone opens your website, clientId token is generated and
kept in a list in the server, so you can push them messages.
Some of them may close the website shortly after visiting. But of
course our server app doesn't know how to update the list, so it will
have some dead channelIds.

I can handle that by:

for each channelId in list {
  try { send } catch (ignore it)
}

But isn't that slow? Is there any better way to handle this situation?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to