Computing Magazine

Mule File Inbound Infinite Loop

Posted on the 12 June 2014 by Abhishek Somani @somaniabhi
Mule file inbound end point is going in to infinite loop if we use custom queued-asynchronous-processing-strategy . It keeps on acquiring the lock on the same file and does nothing . I am using mule version 3.3.1 . Here's the mule xml file :

<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:http="" xmlns:file="" xmlns="" xmlns:doc="" xmlns:spring="" version="CE-3.3.1" xmlns:xsi="" xsi:schemaLocation=" ">
<file:connector name="myFileConnector" doc:name="File">
<!-- <service-overrides messageReceiver="InputFileMessageReceiver"/> -->
<queued-asynchronous-processing-strategy name="allow2Threads" maxThreads="2"/>
<flow name="fileInboundTestFlow1" doc:name="fileInboundTestFlow1" processingStrategy="allow2Threads">
<file:inbound-endpoint path="E:/fileTest" responseTimeout="10000" doc:name="File" pollingFrequency="50" connector-ref="myFileConnector" >
<byte-array-to-object-transformer doc:name="Byte Array to Object"/>
<component class="SleepComponent" doc:name="sleep"/>

Is it a bug ? Mule File Inbound Infinite loop

Back to Featured Articles on Logo Paperblog