On Thursday, June 7, 2012 10:40:23 PM UTC+2, Ryan McFall wrote:
>
> Thanks, Thomas, I searched through the methods in 
> ServiceLayerDecorator for something like this, but somehow missed 
> these. 
>
> Using report() from with the ServiceLayerDecorator doesn't allow me to 
> re-fire the RequestFactory request, giving me the "A request is 
> already in progress" error.  If I call die() then the exception is 
> still printed out, but the onFailure method of the Receiver is in fact 
> called, and I can re-fire the request.


Be careful though: if you enqueued two invocations in your context, and the 
second one generated the die() exception (meaning the first one has been 
processed), when sending the request a second time, the first invocation 
will be processed a second time too, so it'd better be idempotent! 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/bY-yvxElckMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to