Using Mule 3, how can I pass a java.io.File object payload from an inbound file endpoint to a Groovy script rather than the file’s content?
Using Mule 3, how can I pass a java.io.File object payload from an inbound
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to turn streaming off and override the default message factory on the file connector:
Note that it is up to you to move / delete the file either before you start or once you’ve done processing it, otherwise Mule will poll it again and again.