View Single Post
  #1 (permalink)  
Old 04-08-2008
aozarov aozarov is offline
Registered User
 
Name: Arie Ozarov
Organization: hi5 Networks
Project: SOA
 
Join Date: Mar 2008
Posts: 39
Can I safely skip AMD invocation style response

I have a service which is defined with AMD + AMI invocation style.
Client side invocation is wrapped and protected with a timeout based bail-out.
Server invocation is included with the same timeout value as an argument.
As I am using AMD I would like to disregard queued calls or service response if its time-to-live expired (as the client will not use its result). Is it safe to do so (and not return anything and not to throw any exceptions). It should be safe from the application perspective but would like to make sure that it will not cause any "leaks" in the ice framework (server side or client side).
Thanks,
Arie.
Reply With Quote