> We should probably name it NoopAsyncCallback as IMHO thats a better name.

I'm used to naming Noop- callbacks as Empty-ones but Noop sounds fine
as well :) .

> Also we may consider a single static instance as its just a noop, eg
> like Collections.emptyList() does.

I thought about it but decided to make patch as simple as possible.

BTW I thought also about utility like this:

AsyncCallbacks.noop();
AsyncCallbacks.log(exchange); // callback that logs to SLF4J that
exchange has been processed.

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to