I am using the `RouteOnAttribute` processor to route files based on mime type
in a flow that I intend to be reusable but would like to either use a single
parameter with the list of mime types or multiple parameters, one for each mime
type (ideally without knowing the number of parameters ahead of time).
I am using the expression
${mime.type:in("application/pdf","application/msword")}
without issue, but can't get any of
${mime.type:in(“#{document-mime-type1}”)}
${mime.type:in(#{document-mime-type1})}
${mime.type:in("#{document-mime-type1}","#{document-mime-type2}")}
${mime.type:in(#{document-mime-type1},#{document-mime-type2})}
Or
${mime.type:in({document-mime-types})}
to work but can’t seem to find any documentation suggesting I should (or should
not) expect parameters to work in this scenario.
The parameters are defined as:
document-mime-type1 = “application/pdf”
document-mime-type2 = “application/msword”
document-mime-types = “application/pdf,application/msword”
Any help would be appreciated,
Randall Wood (he, him, his)
Solutions Architect – Customer Engineering Solutions
Everfox
+1.703.840.2056
[email protected]<mailto:[email protected]>
www.everfox.com<http://www.everfox.com>