Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2047

Dynamic MDB pool based on message header

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: No Release
    • Component/s: JMS (JBossMQ)
    • Labels:
      None

      Description

      Currently, JBoss AS creates a single MDB pool for an MDB instance, the number of MDB/threads configured by elements in standardjboss.xml .

      At the company I work at, we would like to create per-customer MDBs. The reason is that for a particular customer, we may need to access remote resources of this customer that can be down, which tends to block processing of other customers' messages. Since we have a lot of customers, which are dynamically added/removed, it makes management difficult of these MDB pools.

      In pseudo-code, it would work like the following:

      1. Message on the server is read by JBoss
      2. If a certain header (say "JBOSS_MESSAGE_POOL_ID") is set, JBoss looks for an existing pool. If one is not found, a new one is constructed. A worker thread is checked out and the MDB onMessage is called for this pool.
      3. If the header is not found, the default pool is used.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                genman Elias Ross
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: