LocalCallbackDispatcherComponent should not allow a correlated message to be dispatched


the LocalCallbackDispatcherComponent will allow the ICorrelatedCallbackManager to process a correlated message in order to notify a callback waiting for a result.
This is used by the Request/Response pattern and thus, when the code receives the response, there should be no other handler allowed to process it.
This won't happen if you don't register a handler for the response, but if you do, it would help to intercept the message and not dispatch it.
Closed Jul 8, 2010 at 9:47 AM by HakanL


PlasticLIzard wrote Sep 18, 2009 at 9:40 PM

I agree.

HakanL wrote Jul 8, 2010 at 9:44 AM

I had to change the ICorrelatedCallbackManager interface to return a result boolean from Notify if the message was correlated.

wrote Jul 8, 2010 at 9:47 AM

wrote Jul 8, 2010 at 9:47 AM

HakanL wrote Jul 8, 2010 at 9:48 AM

Added to trunk

wrote Feb 14, 2013 at 2:23 AM

wrote May 16, 2013 at 6:46 AM