Thursday, 12 June 2014

Textual description of firstImageUrl

Mule File Inbound Infinite loop

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 ?