骆驼:无法获得读锁 - 希伯来名字

时间:2017-10-09 12:57:29

标签: apache-camel

当尝试使用带有希伯来语(Windows-1255)名称的camel文件(使用者)读取文件时,readLock =已更改我收到错误: org.apache.camel.component.file.strategy.FileChangedExclusiveReadLockStrategy - 无法在2000毫秒内获取读锁定。将跳过该文件 我怎么解决这个问题? 这是错误:

> 2017-10-10 11:03:00.882 [Camel (incomingFileHandlerCamelContext)
> thread #1 -
> file:///inbal/Vaults/Swiftnesstest/Distribution/Pension_Gemel/Interfaces/In]
> ERROR org.apache.camel.processor.DefaultErrorHandler - Failed delivery
> for (MessageId: a409d31f-9c38-40a0-8874-578e29de46c5 on ExchangeId:
> dfe13fc7-750f-4295-9a3a-57d31e9f198f). Exhausted after delivery
> attempt: 1 caught: org.apache.camel.InvalidPayloadException: No body
> available of type: java.lang.String but has value:
> GenericFile[/inbal/Vaults/Swiftnesstest/Distribution/Pension_Gemel/Interfaces/In/���.txt]
> of type: org.apache.camel.component.file.GenericFile on: ���.txt.
> Caused by: Error during type conversion from type: java.lang.String to
> the required type: byte[] with value [Body is file based:
> GenericFile[/inbal/Vaults/Swiftnesstest/Distribution/Pension_Gemel/Interfaces/In/���.txt]]
> due java.io.FileNotFoundException:
> /inbal/Vaults/Swiftnesstest/Distribution/Pension_Gemel/Interfaces/In/���.txt
> (No such file or directory).
> Exchange[dfe13fc7-750f-4295-9a3a-57d31e9f198f]. Caused by:
> [org.apache.camel.TypeConversionException - Error during type
> conversion from type: java.lang.String to the required type: byte[]
> with value [Body is file based:
> GenericFile[/inbal/Vaults/Swiftnesstest/Distribution/Pension_Gemel/Interfaces/In/���.txt]]
> due java.io.FileNotFoundException:
> /inbal/Vaults/Swiftnesstest/Distribution/Pension_Gemel/Interfaces/In/���.txt
> (No such file or directory)]

0 个答案:

没有答案
相关问题