The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

diddy (5) [Avatar] Offline
#1
I'd like to provide some correction to Listing 3.1 (Using the File Transport to move files from one directory to another)

Mule Studio wasn't happy with the regular expression, I changed it to
.+.xls$

Also the output pattern does not need the additional .xls string at the end as it is already part of the original file name, so I changed it to the following:
outputPattern="EXPENSE-REPORT-#[org.mule.util.DateUtils.getTimeStamp('dd-MM-yy_HH-mm-ss.SSS')]-#[message.inboundProperties.originalFilename]"