jbossas/jboss-ejb-client — pull request #50 by jaikiran (2013-08-14 11:22:48+00:00)
Title: Implementation of EJBCLIENT-82 

The commit here introduces the feature to allow a way to specify whether a particular connection configuration in a EJB client context, needs to be establish a connection eagerly or lazily. This was requested in https://issues.jboss.org/browse/EJBCLIENT-82.

By default, connections listed in the configuration will be created eagerly like before. However, users can use the following property style to mark a particular connection to be lazy:

# This marks the connection named "connection-name" to be connected lazily
remote.connection..connect.eager=false

Furthermore, all connections listed can be defaulted to lazy by using:

# All listed connection configurations will by default be lazily connected due to this property
remote.connections.connect.eager=false

The *.connect.eager property accepts a value of either true or false.

This commit also contains a testcase to test this feature.