Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1691

ConnectorServices.getResourceAdapteServiceName(raName) doesn't return ServiceName for hornetq-ra

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Beta1
    • None
    • JCA
    • None

      ConnectorServices.getResourceAdapteServiceName(this.resourceAdapterName)
      

      is expected to return the ServiceName(s) for the passed RA name. However, in the current AS7 upstream it fails to return any ServiceName for "hornetq-ra". Looks like the ResourceAdapterDeploymentService which processes the hornetq-ra never generates/registers the ServiceName via ConnectorServices.

      Furthermore, from a API client point of view (for example EJB3), this API may not always function correctly. For example, if the EJB3 integration code ends up calling this API to get the ServiceName to depend on, this API might return no value if the corresponding RA hasn't yet been processed. This makes it impossible for the EJB3 code to know on which ServiceName to depend on for a given RA.

              smaestri@redhat.com Stefano Maestri
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: