I am working on simple project that will lunch a job when a new file is created in specific folder but i don't want to use xml only java annotation , so my question is how can i implement the below in code
<batch-int:job-launching-gateway request-channel="outboundJobRequestChannel"
reply-channel="jobLaunchReplyChannel"/>
<int:logging-channel-adapter channel="jobLaunchReplyChannel"/>
BR Shahbour