Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13735

Use of thread pools with EJB remote element needs attention

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 21.0.0.Beta1
    • EJB
    • None

      The EJB3RemoteResourceDefinition defines two related attributes:

      • an attribute thread-pool-name which is optional and has no default
      • an attribute execute-in-worker, which is also optional but has a default "true"

      When execute-in-worker == false, the add handler expects the thread pool to be available (the remote connector service introduces a capability dependency on it), but because thread-pool-name is optional, this may not be the case.

      If execute-in-worker == false, we need to check and throw an error message if a thread pool attribute value is not available, as we can no longer satisfy this condition (in other words, we cannot delegate the work of processing the method to a thread in the non-existent thread pool).

              tadamski@redhat.com Tomasz Adamski
              rachmato@redhat.com Richard Achmatowicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: