Hi All, We are experiencing unexpected behavior when using .wireTap within .split EIP patterns. Even if we properly close split with .end(), we are seeing the rest of the route being executed more than once, depends on number of lines in our file content. We would expect .end() will close the split and the following route part would be executed just once. When we replace .wireTap with .to, it works just fine. Do we missing something?
Please see simplified code below. Code snippet: // loop through each line of ftp file .split(simple("${exchangeProperty.ftpFileContent}")) .wireTap(“direct:logRoute”) // end split .end() // log message after split .log(“TEST”); ———— Dummy Logging Route from(“direct:logRoute) .log(“Dummy Message”); Thanks in advance, Vlad