Announcement Announcement Module
Collapse
No announcement yet.
Dynamic Throttle Limit for FaultTolerantStepFactoryBean Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dynamic Throttle Limit for FaultTolerantStepFactoryBean

    I need to define the throttleLimit dynamically. Is there a way to use step-scoped throttle-limit with a FaultTolerantStepFactoryBean definition ?

    I tried the one below, but no luck.

    <bean id="baseStep" class="org.springframework.batch.core.step.item.Fa ultTolerantStepFactoryBean" abstract="true">
    ..
    <property name="throttleLimit" ref="throttleLimit"/>

    </bean>

    <bean id="throttleLimit" scope="step" class="java.lang.Integer" factory-method="valueOf">
    <constructor-arg value="#{jobParameters[throttleLimit]}" />
    </bean>


    Thanks!
Working...
X