java - How does Streaming work for a Mule Database connector? -
i have flow listening on http listener , flow has below message processors
- a streaming enabled oracle database message processor selects 100 records table , fetch size 20.
- an expression component transforms above paylod of type
org.mule.module.db.internal.result.resultset.resultsetiterator
payload of typejava.util.list
as per understanding payload size 20, fetch size set 20. when log payload size, 100.
can suggest whether understanding streaming of database connector correct or not?
by doing this:
"org.mule.module.db.internal.result.resultset.resultsetiterator payload of type java.util.list"
you reading memory in 1 go. need use iterator process each set of 20 records. simple example:
Comments
Post a Comment