I have simple event processing scenario
Read event from DB -> Send JMS message form event -> update event table based on JMS send exit code.
Now I'm thinking how can I do it woth spring batch.
Should I use one db reader and CompositeItemWriter having jmswriter and dbwriter
Is it good idea to achieve thi or there is better way ?
How can I check jmswriter exit code within dbwriter from my scenario ?