jbossas/jboss-ejb-client — pull request #54 by jaikiran (2013-10-15 15:19:16+00:00)
Title: [master branch] Fix for EJBCLIENT-93

The commit here fixes the issue reported in https://issues.jboss.org/browse/EJBCLIENT-93.

When a ClusterContext was being queried for a relevant EJBReceiver belonging to that cluster, for a particular invocation, the ClusterContext used to pick one without considering whether or not that receiver could handle that particular (appname, modulename, distinctname) invocation. The fix adds a check to ensure that selected receivers can indeed handle the invocation.