batchee-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/BATCHEE-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989097#comment-13989097
] 

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: https://issues.apache.org/jira/browse/BATCHEE-35
>             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
(v6.2#6252)

Mime
View raw message