Folks,
Here's the current signatures for onError for async callback's. How do
i get access to the MessageContext and or the envelope when i onError
gets called?
public abstract class Callback {
public abstract void onComplete(AsyncResult result);
public abstract void onError(Exception e);
}
Does it make sense to change the method as follows? Basically add an
extra paramter in onError?
public abstract class Callback {
public abstract void onComplete(AsyncResult result);
public abstract void onError(Exception e, AsyncResult result);
}
Thanks,
dims
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]