Uploaded image for project: 'JBoss Messaging'
  1. JBoss Messaging
  2. JBMESSAGING-1356

Add thread pool for client/server sessions

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 1.4.0.SP3.CP02
    • Fix Version/s: Unscheduled
    • Component/s: Messaging Core
    • Labels:
      None

      Description

      The threads named jbm-server-session* and jbm-client-session* should be gotten from a thread pool instead of just being created. There's no way to cap the number of session threads.

      The thread factory is defined in NamedThreadQueuedExecutor as...

      private class Factory implements ThreadFactory
      {
      public Thread newThread(Runnable command)

      { return new Thread(jbmGroup, command, name); }

      }

      This thread factory should really have a thread pool implementation and not just a new thread implementation. This class controls both the server threads and the client threads.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ovidiu.feodorov Ovidiu Feodorov
                  Reporter:
                  jay.howell Jay Howell
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: