With Spring Integration, is it possible to dynamically create additional inbound channel adapters as the program runs?
Background: I'm pretty new to SI and S-Batch. I'm using SI to poll our db for info that I use to create jobs in SB. Essentially, there are business rules for when the records I am pulling from the DB need to turn into a job. I'm planning on making an inbound channel adapter for each rule. For instance, the rule for items in their initial state would be:
<int-jdbc:inbound-channel-adapter
query="select [id] from [MY_DATA] where status_name = 'INITIAL'"
....
/>
I plan on retrieving the rule info and parsing them into adapters. Instead of the hard coded rule above, I would retrieve the status_name "INITIAL" from the db and use that to build the adapter.