Yes.
Seems what you found and my explanation (if you received it yet)
match, which is a good sign.
To clarify streaming default changed to true for 2.0 but didn't change
between RC releases. What changed between RC releases is that
initially file streaming was broken and then it got fixed :-)
Once the FileToString transformer is updated (in 2.0.1 i guess) you'll
be able to use the default of streaming without a problem.
Dan
On 10 Apr 2008, at 13:23, Steve Olson wrote:
>
> Sorry, the prior post should have said when I set streaming="false"
>
>
> Steve Olson wrote:
>>
>> Just found the answer - evidently the default on the file connector
>> for
>> the streaming attribute has changed to true. When I set it to
>> default, my
>> flow that worked under 2.0RC2 starts working again.
>>
>> I don't know much about streaming, so will explore how to deal with
>> that
>> sometime later.
>>
>>
>> Steve Olson wrote:
>>>
>>> I had a file connextor based flow that worked fine in RC2, although
>>> FileConnector itself had a couple bugs related to how it was doing
>>> archiving when moveTo is in use, as I was doing. I saw that those
>>> were
>>> fixed in RC3 and 2.0.0 gold, so tested my flow on those using the
>>> 2.0.0
>>> release code. The unchanged flow configuration runs under 2.0.0,
>>> but
>>> when it sees a file, is now throwing the same exception that is in
>>> Mule-3055. Mule-3055 shows it's fixed in RC3 but only applies to an
>>> example, so I'm unsure if it is the exact same issue or something
>>> similar.
>>>
>>> I'm gonna start digging into the cause of this, but if anyone is
>>> already
>>> familiar with whatever was in 3055, I'd appreciate any tips/info.
>>> Here's
>>> my sample config snippits that worked fine in 2.0RC2 but break in
>>> 2.0.0
>>> (I've changed some names to generic names and doen other editing).
>>> The
>>> component class below is expecting a String and has a method that
>>> the
>>> 2.0RC2 entry point resolver found just fine. But on 2.0.0 code it's
>>> almost like my file to string transformer isn't happening or
>>> something.
>>>
>>> <file:file-to-string-transformer name="FileToString"/>
>>> <file:connector name="fileconn1" autoDelete="false"
>>> createMultipleTransactedReceivers="false"
>>> fileAge="5000" moveToDirectory="${mypath}/Archive"
>>> pollingFrequency="10000" >
>>> <custom-exception-strategy
>>> class="com.ameren.esb.mule.EventServiceExceptionStrategy">
>>> .. content skipped...
>>> </custom-exception-strategy>
>>> </file:connector>
>>>
>>> <model name="Flow1">
>>> <service name="service1">
>>> <inbound><inbound-endpoint address="file://${mypath}"
>>> transformer-refs="FileToString"
>>> connector-ref="fileconn1">
>>> </inbound-endpoint>
>>> </inbound>
>>> <component>
>>> <spring-object bean="controller1">
>>> </spring-object>
>>> </component>
>>> <custom-exception-strategy
>>> class="com.ameren.esb.mule.EventServiceExceptionStrategy">
>>> .. content skipped...
>>> </custom-exception-strategy>
>>> </service>
>>> </model>
>>>
>>> Thanks in advance for any help!
>>>
>>
>>
>
> --
> View this message in context:
http://www.nabble.com/2.0-FileConnector-question-tp16609060p16609892.html> Sent from the Mule - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>
http://xircles.codehaus.org/manage_email>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email