The SQL component tries to convert the message body to an object of
java.util.Iterator type and then uses this iterator to fill the query
parameters (where each query parameter is represented by a
# symbol (or
configured placeholder) in the endpoint URI). If the message body is not an array or
collection, the conversion results in an iterator that iterates over only one object, which
is the body itself.
For example, if the message body is an instance of
first item in the list is substituted into the first occurrence of
# in the SQL
query, the second item in the list is substituted into the second occurrence of
#, and so on.