You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Manish <ma...@gmail.com> on 2015/08/13 21:14:05 UTC
splitter EIP stuck in JBOSS fuse.
I tried to split a large xml file and published each individual message in
JMS queue.
In my local camel setup its working fine but when I deployed in fuse, after
processing few messages, it stucks/hangs. It doesn't gave any error message
also..
following the code I used..
<route id="handle_big_file">
<from
uri="file://{{service.folder}}/{{inbound}}?delete=true&delay=3000&directoryMustExist=true&doneFileName=${file:name.noext}.trg"/>
<log message="handle_big_file.start time:${date:now:yyyy-MM-dd
hh:mm:ss.SSS}"/>
<split streaming="true" parallelProcessing="true"
stopOnException="true">
<tokenize token="Shipment" xml="true"/>
<setHeader headerName="referenceNumber">
<xpath
resultType="java.lang.String">/Info/ReferenceNumber</xpath>
</setHeader>
<setHeader headerName="fileName">
<simple>${date:now:yyyyMMddHHmmssSSS}-TO-${in.header.referenceNumber}-${exchangeId}</simple>
</setHeader>
<log message="handle_big_file split: referenceNumber=
${in.header.referenceNumber} split index= ${property.CamelSplitIndex}
CamelSplitComplete=${property.CamelSplitComplete}"/>
<to uri="activemq:queue:Shipment"/>
</split>
<log message="handle_big_file.end time:${date:now:yyyy-MM-dd
hh:mm:ss.SSS}"/>
</route>
It doesn't give any error.. just hung after publishing few messages..
I tried with parallelProcessing false and true...
what culd be the reason?
Regards
manish
--
View this message in context: http://camel.465427.n5.nabble.com/splitter-EIP-stuck-in-JBOSS-fuse-tp5770699.html
Sent from the Camel - Users mailing list archive at Nabble.com.