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

Provide configurable timeout for ExternalContextObjectFactory.createContext

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • 8.0.0.Alpha1
    • Naming
    • None

    Description

      An ExternalContextObjectFactory's createContext method might take a long time to complete, because usually it will communicate over the network. It would be useful to be able to cap the waiting time, and there should be a timeout enabled by default – it might happen that the remote server will get stuck during the context creation and the external context will never be successfully created (or it will just take too much time). If a timeout occurs, createContext can for example return null, or throw an exception, not sure which is better.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            jmartisk@redhat.com Jan Martiska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: