Partition job configuration using Java config

382 views Asked by At

Please help me how to do Spring batch Partition job using java config. I have to write the partition job based on the account number. I am not sure how to configure the following XML bean in java configuration.

<int:router input-channel="channel_in" default-output-channel="channel_default" expression="payload.name" ignore-channel-name-resolution-failures="true"> <int:mapping value="foo" channel="channel_one" /> <int:mapping value="bar" channel="channel_two" /> </int:router>

0

There are 0 answers