batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <>
Subject [jira] [Commented] (BATCHEE-35) add a CDI scope which spans a split execution
Date Sun, 04 May 2014 19:26:15 GMT


Romain Manni-Bucau commented on BATCHEE-35:

a step will exit only when done so we should be safe on this point.

> add a CDI scope which spans a split execution
> ---------------------------------------------
>                 Key: BATCHEE-35
>                 URL:
>             Project: BatchEE
>          Issue Type: New Feature
>          Components: batchee-extensions
>    Affects Versions: 0.2-incubating
>            Reporter: Mark Struberg
> We have @StepScoped, @JobScoped and from CDI itself we have @RequestScoped.
> If a Step gets executed in form of a Split, then we have multiple Threads running the
same Step. How do we account for that? A @StepScoped is too 'wide'.
> A @RequestScoped could probably work, but is there any chance that multiple steps use
the same thread without exiting them between two steps? 

This message was sent by Atlassian JIRA

View raw message