SpringSource/spring-integration — pull request #276 by garyrussell (2011-12-22 20:52:00+00:00)
Title: INT-2333 Work Around for MAC OSX JVM Bug

Selector.select() throws CancelledKeyException when selecting
on a closed socket.

http://java.net/jira/browse/MACOSX_PORT-526

Work around is to catch the exception and continue.

@ghillert