In our app, we have to employ Spring Integration JDBC Inbound Channel the way it will poll a DB table containing customer orders. We need to process all orders of a single customer in one go.
So we have a table that contains order_number, customer_number, and some additional data. We want to get a collection of rows where customer_number is the same as an argument of the method the inbound channel adapter invokes.
The database underneath is Oracle 19c. Any idea how to achieve this?