Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-82

Allow lazy connection creation for auto created connections in a EJBClientContext

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.0.0.Beta3
    • 1.0.21.Final
    • None

    Description

      EJB client API allows configuration driven EJB client contexts to be created. One such way is to use the jboss-ejb-client.properties (rather properties based approach) to setup the EJB client context configurations.

      This includes passing a collection of connection creation options for various connections which get associated with a EJBReceiver:

      remote.connections=foo,bar
      

      When such configurations are being parsed and the receivers created for such connection configurations, it can lead to a long "wait" time for the client context to be initialized since each of those connection creation happens serially.

      Users have asked for an option where they can say that only a particular (set of) connections configurations have to be used "eagerly" to create a connection/receiver out of it. So if they have:

      remote.connections=foo,bar,hello,world,peter,griffin
      

      they want an option where they can say that (as an example) bar, hello, world, peter connections have to be setup only when required for handling EJB invocations instead of eagerly creating those connections when parsing and setting up the EJBClientContext.

      Attachments

        Issue Links

          Activity

            People

              jaikiran Jaikiran Pai (Inactive)
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: