Announcement Announcement Module
Collapse
No announcement yet.
ItemReader ref as jobparameters Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ItemReader ref as jobparameters

    Hi can any one help me

    I have got multiple itemwriters and item readers in my step ,
    I need to read/write a particular item reader or writer using jobparameters

    here is my config file step config :

    <bean id="EDIJob" parent="simpleJob" >
    <property name="steps" >
    <bean id="step1" parent="simpleStep" >
    <property name="streams" >
    <list>

    <ref bean="i9FileItemReader" />
    <ref bean="ansiFileWriter" />
    <ref bean="neutralizeWriter" />
    <ref bean="reportsWriter" />
    <ref bean="multiFileItemReader" />
    </list>

    </property>

    <property name="itemReader" ref="itemReader" />

    <property name="itemWriter" ref="itemWriter" />


    </bean>
    </property>
    </bean>



    there are multiple itemreaders
    1)itemReader
    2)ffitemReader
    3)xmlItemreader


    There are multiple itemWriters

    1) itemWriters
    2) ffitemWriters
    3) etc..


    now i need to change this itemwriters using jobparameters ....

    is it possible..
    if so how ?

    if its not possible if you have got any suggestion please do let me know.
Working...
X