Dmitry
unread,Jun 14, 2010, 9:03:27 AM6/14/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Wave API
I'm writing simple wave-robot using java which should update wave
content
according to changes in separate system.
How it works:
1. Using cron daemon application (robot) checks if some changes
happened on remote resource (e.g. web page)
2. When change catched then robot fetches all new text as HTML (and
cleaned up a bit)
3. Robot removes all content root blip of wave which corresponds to
current resource (using Active Robot API)
4. Right after that robot adds new content to root blip of wave
(using Active Robot API, same as before, using same operation queue).
The problem:
some times (not all the time) wave is not changed after apdate -
_without_any_errors_.
i.e. all my operations with wave operation queue submitted
successfully,
wave returned response as usual, without any errors or exceptions or
something like that,
but wave is not changed.
(but some times wave is updated well)
The main question for me, what is the reason of this problem? I see
three (3) possiblilities:
1. Something is wrong with my code so changes submitted by my code
ignored by wave
(may be some validadion is missed on wave-server-side)
2. Wave is overloaded so it just ignore message from my robot.
3. Changes submitted by robot pushed to queue with low priority so I
can't see them immediately,
but wave will be updated (my be couple of days later)
I will try to provide any additional information if needed.
BR, Dmitry