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

Add batch-jberet subsystem to replace the original batch subsystem


    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 10.0.0.Beta1
    • Component/s: Batch
    • Labels:


      The original batch subsystem will not work well with capabilities and requirements. It's also fairly limited in the validation it can offer for the job repositories.

      Current model:

          "outcome" => "success",
          "result" => {
              "job-repository-type" => "in-memory",
              "job-repository" => {"jdbc" => {"jndi-name" => undefined}},
              "thread-factory" => undefined,
              "thread-pool" => {"batch" => {
                  "keepalive-time" => {
                      "time" => 30L,
                      "unit" => "SECONDS"
                  "max-threads" => 10,
                  "name" => "batch",
                  "thread-factory" => undefined

      The job-repository-type will be removed as well as the job-repository=jdbc. A new jdbc-job-repository and in-memory-job-repository resource will be added. There will also be a default-job-repository which will accept a name from one of the defined job repositories.

      The jndi-name will no longer be used and a data-source name will be used for the JDBC job repository. For example resource value might be ExampleDS.

      A new deployment descriptor will be added to allow a user to defined a job repository configured on the subsystem.

      Due to these changes the persisted XML will likely need some small alterations. Mainly ensuring a name attribute is persisted and multiple repositories are allowed to be defined.

      The current batch subsystem will remain. It will allow the server to boot with old configurations, but the default with be the new batch-jberet subsystem.

        Gliffy Diagrams


            Issue Links



                • Assignee:
                  jamezp James Perkins
                  jamezp James Perkins
                • Votes:
                  1 Vote for this issue
                  5 Start watching this issue


                  • Created: