3 Replies Latest reply on Jun 24, 2014 11:13 AM by Frank Cornelis

    Batch API: remove job instances

    Frank Cornelis Apprentice

      While playing around with the Batch API in WildFly 8.1, I've noticed that the JSR 352 does not define any interface for removing old job instances.

      In the spec I find under 11.2 Job Repository Artifact Lifecycle:

      All job repository artifacts are created by the batch runtime during job processing and exist until deleted by an implementation provided means.

       

      Is it somewhere documented how to remove job repository artifacts within WildFly/JBeret?

      Why was such an important concept (CRU _D_) not foreseen in the Batch API specs?