Ángel Vicente Baranda created JBESB-3980:
--------------------------------------------
Summary: Camel not deleted if file consumer is used with pollEnrich
zipAggregationStrategy
Key: JBESB-3980
URL:
https://issues.jboss.org/browse/JBESB-3980
Project: JBoss ESB
Issue Type: Bug
Environment: Local environment. Windows 8 . jboss-fuse-6.3
Reporter: Ángel Vicente Baranda
Priority: Blocker
Attachments: edpc.rar,
jboss-fuse-karaf-6.3.0.redhat-187jboss-fuse-6.3.0.redhat-187workcbrinput.rar
Suppose a Camel route that uses pollEnrich to enrich messages using a file consumer
<route id="writeZip">
<from id="_from1" uri="direct:start"/>
<pollEnrich id="_pollEnrich1" >
<simple>${header.pdfnow}</simple>
</pollEnrich>
<aggregate completionFromBatchConsumer="true"
completionSize="100" eagerCheckCompletion="true"
id="_aggregate1"
strategyRef="zipAggregationStrategy">
<correlationExpression>
<constant>true</constant>
</correlationExpression>
<to id="_to3"
uri="file:work/cbr/input/zip?fileName=any.zip"/>
</aggregate>
</route>
As a result the file remains locked and does not get moved to .camel/ folder and no
further exchanges will be processed.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)