Skip to content

Multiple flows nested - error when parsing the second flow. [BATCH-1872] #1719

Open
@spring-projects-issues

Description

@spring-projects-issues

Histace Pierre opened BATCH-1872 and commented

We receive an error message when the application context is loading (parsing error on a table with the flow).

We have a configuration like :
Main application context is like :

<import resource="classpath*:/be/speos/cads/init/FlowCadsOutputContext.xml"/>
<batch:job id="parallelJob">
   <batch:split id="readWrite" task-executor="taskExecutor">
   <batch:flow parent="flowCadsInput"/>		   	
   <batch:flow parent="flowCadsOutput"/>
   <batch:flow parent="flowCadsProcess"/>
   </batch:split>						
</batch:job>

In my custom context :

<batch:flow id="flowCadsOutput">
    <!-- I can create with the same syntax as in applicationContext flow parent... -->
    <batch:split id="splitOutput" task-executor="taskExecutor">
            <batch:flow parent="flowCadsOutput.outputStepFtp"/>
        </batch:split>
</batch:flow>

<batch:step id="flowCadsOutput.outputStepFtp">
   <batch:tasklet transaction-manager="transactionManager" start-limit="1">
      <batch:chunk reader="outputQueueFtpItemReader" writer="outputFileFtpItemWriter" commit-interval="10" />
   </batch:tasklet>
</batch:step>

Affects: 2.1.8

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions