camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: file transfer failed in windows when filesize is big say 35MB
Date Fri, 04 Mar 2011 13:41:10 GMT
Hi

You may want to take a look at AMQ BlobMessage
http://activemq.apache.org/blob-messages.html



On Fri, Mar 4, 2011 at 11:12 AM, vyao8888 <hengkai.yao@credit-suisse.com> wrote:
> Hi,
>
> I am new to Camel and just tried some samples. One of the saimpe thing I am
> trying to is to copy files from src directory to dest directories based on
> the file name using "File Language". The following is the Spring config part
> for the routing:
>
>
>    org.apache.maven.archetypes
>
>
>
>
>
>
>
>
>          ${file:onlyname.noext} ==  'NL.U0000.P0.GLACCTS'
>
>
>
>          ${file:onlyname.noext} == 'NL.U0000.P0.ADHIER'
>
>
>
>          ${file:onlyname.noext} == 'NL.U0000.P0.LEHIER'
>
>
>
>
>
>
>
>
>
> It runs when the file size is around 18MB otherwise it throws the
> NullPointerException as the following:
>
> C:\Data\camel-archetype-activemq>mvn camel:run
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.maven.archetypes:camel-archetype-activemq:jar:1.0
> -SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 89, column
> 15
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building A Camel Route 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> camel-maven-plugin:2.5.0:run (default-cli) @
> camel-archetype-activemq >>>
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
> camel-archetype-activemq ---
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> camel-archetype-activemq ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources
> (default-testResources) @ camel-archetype-activemq ---
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> C:\Data\camel-archetype-activemq\src\test\resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
> camel-archetype-activemq ---
> [INFO] No sources to compile
> [INFO]
> [INFO] <<< camel-maven-plugin:2.5.0:run (default-cli) @
> camel-archetype-activemq <<<
> [INFO]
> [INFO] --- camel-maven-plugin:2.5.0:run (default-cli) @
> camel-archetype-activemq ---
> [INFO] Classpath = [file:/C:/Data/camel-archetype-activemq/target/classes/,
> file:/C:/Data/repository/org/apache/activemq/activemq-core/5.3.2
> /activemq-core-5.3.2.jar,
> file:/C:/Data/repository/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar,
> file:/C:/Data/reposi
> tory/org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.jar,
> file:/C:/Data/repository/org/apache/activemq/act
> iveio-core/3.1.2/activeio-core-3.1.2.jar,
> file:/C:/Data/repository/org/apache/geronimo/specs/geronimo-j2ee-management_1.1_spec/1.0.1/geronim
> o-j2ee-management_1.1_spec-1.0.1.jar,
> file:/C:/Data/repository/org/apache/activemq/kahadb/5.3.2/kahadb-5.3.2.jar,
> file:/C:/Data/repository/o
> rg/apache/activemq/protobuf/activemq-protobuf/1.0/activemq-protobuf-1.0.jar,
> file:/C:/Data/repository/org/osgi/org.osgi.core/4.1.0/org.osgi.
> core-4.1.0.jar,
> file:/C:/Data/repository/org/springframework/osgi/spring-osgi-core/1.2.1/spring-osgi-core-1.2.1.jar,
> file:/C:/Data/repositor
> y/org/springframework/osgi/spring-osgi-io/1.2.1/spring-osgi-io-1.2.1.jar,
> file:/C:/Data/repository/org/apache/geronimo/specs/geronimo-j2ee-m
> anagement_1.0_spec/1.0/geronimo-j2ee-management_1.0_spec-1.0.jar,
> file:/C:/Data/repository/commons-net/commons-net/2.0/commons-net-2.0.jar,
> file:/C:/Data/repository/org/apache/activemq/activemq-camel/5.3.2/activemq-camel-5.3.2.jar,
> file:/C:/Data/repository/org/apache/activemq/act
> ivemq-pool/5.3.2/activemq-pool-5.3.2.jar,
> file:/C:/Data/repository/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.0.1/geronimo-jta_1.0
> .1B_spec-1.0.1.jar,
> file:/C:/Data/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar,
> file:/C:/Data/repository/org/apache/cam
> el/camel-core/2.5.0/camel-core-2.5.0.jar,
> file:/C:/Data/repository/org/fusesource/commonman/commons-management/1.0/commons-management-1.0.ja
> r,
> file:/C:/Data/repository/org/apache/camel/camel-jms/2.5.0/camel-jms-2.5.0.jar,
> file:/C:/Data/repository/org/springframework/spring-jms/3.
> 0.4.RELEASE/spring-jms-3.0.4.RELEASE.jar,
> file:/C:/Data/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar,
> file:/C:/Data/repository
> /org/springframework/spring-core/3.0.4.RELEASE/spring-core-3.0.4.RELEASE.jar,
> file:/C:/Data/repository/org/springframework/spring-tx/3.0.4.R
> ELEASE/spring-tx-3.0.4.RELEASE.jar,
> file:/C:/Data/repository/org/springframework/spring-beans/3.0.4.RELEASE/spring-beans-3.0.4.RELEASE.jar,
> file:/C:/Data/repository/org/apache/camel/camel-spring/2.5.0/camel-spring-2.5.0.jar,
> file:/C:/Data/repository/org/springframework/spring-aop
> /3.0.4.RELEASE/spring-aop-3.0.4.RELEASE.jar,
> file:/C:/Data/repository/org/apache/xbean/xbean-spring/3.5/xbean-spring-3.5.jar,
> file:/C:/Data/
> repository/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar,
> file:/C:/Data/repository/org/springframework/spring-context/3.0.
> 4.RELEASE/spring-context-3.0.4.RELEASE.jar,
> file:/C:/Data/repository/org/springframework/spring-expression/3.0.4.RELEASE/spring-expression-3
> .0.4.RELEASE.jar,
> file:/C:/Data/repository/org/springframework/spring-asm/3.0.4.RELEASE/spring-asm-3.0.4.RELEASE.jar,
> file:/C:/Data/reposito
> ry/log4j/log4j/1.2.16/log4j-1.2.16.jar]
> [pache.camel.spring.Main.main()] MainSupport                    INFO  Apache
> Camel 2.5.0 starting
> [pache.camel.spring.Main.main()] CamelNamespaceHandler          INFO  OSGi
> environment not detected.
> [pache.camel.spring.Main.main()] AnnotationTypeConverterLoader  INFO  Found
> 4 packages with 15 @Converter classes to load
> [pache.camel.spring.Main.main()] DefaultTypeConverter           INFO  Loaded
> 149 type converters in 0.313 seconds
> [pache.camel.spring.Main.main()] BrokerService                  INFO  Using
> Persistence Adapter: MemoryPersistenceAdapter
> [pache.camel.spring.Main.main()] BrokerService                  INFO
> ActiveMQ 5.3.2 JMS Message Broker (localhost) is starting
> [pache.camel.spring.Main.main()] BrokerService                  INFO  For
> help or more information please see: http://activemq.apache.org/
> [pache.camel.spring.Main.main()] TransportServerThreadSupport   INFO
> Listening for connections at: tcp://localhost:61616
> [pache.camel.spring.Main.main()] TransportConnector             INFO
> Connector tcp://localhost:61616 Started
> [pache.camel.spring.Main.main()] BrokerService                  INFO
> ActiveMQ JMS Message Broker (localhost, ID:CHMA5042975-2029-1299232360
> 714-0:0) started
> [pache.camel.spring.Main.main()] DefaultCamelContext            INFO  Apache
> Camel 2.5.0 (CamelContext: camel-1) is starting
> [pache.camel.spring.Main.main()] DefaultCamelContext            INFO  JMX
> enabled. Using ManagedManagementStrategy.
> [pache.camel.spring.Main.main()] DefaultCamelContext            INFO  Route:
> route1 started and consuming from: Endpoint[file://src/data?noo
> p=true%3BbufferSize%3D512%3BmaxFileSize%3D500000000]
> [                 ActiveMQ Task] FailoverTransport              INFO
> Successfully connected to tcp://localhost:61616
> [pache.camel.spring.Main.main()] DefaultCamelContext            INFO  Route:
> route2 started and consuming from: Endpoint[activemq://filter.f
> iles]
> [pache.camel.spring.Main.main()] DefaultCamelContext            INFO  Total
> 2 routes, of which 2 is started.
> [pache.camel.spring.Main.main()] DefaultCamelContext            INFO  Apache
> Camel 2.5.0 (CamelContext: camel-1) started in 0.672 seconds
> [mel Thread 0 - file://src/data] GenericFileOnCompletion        ERROR Caused
> by: [java.lang.NullPointerException - null]
> java.lang.NullPointerException
>        at
> java.io.FilterOutputStream.write(FilterOutputStream.java:80)[:1.6.0_16]
>        at
> org.apache.activemq.command.ActiveMQBytesMessage.writeBytes(ActiveMQBytesMessage.java:687)[activemq-core-5.3.2.jar:5.3.2]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessageForType(JmsBinding.java:518)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessage(JmsBinding.java:461)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.makeJmsMessage(JmsBinding.java:288)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer$2.createMessage(JmsProducer.java:233)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:197)[camel-jms-2.5.0.j
> ar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.access$100(JmsConfiguration.java:140)[camel-jms-2.5.0.jar:2.5.0]
>
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$3.doInJms(JmsConfiguration.java:174)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466)[spring-jms-3.0.4.RELEASE.jar:3.0.4.RELEASE]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:171)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:315)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:269)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:93)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:299)[camel-core-2.5.0.jar:2.5.0
> ]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:208)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:322)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:155)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:121)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:97)[camel-core-2.5.0.jar:2.5.0]
>        at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)[:1.6.0_16]
>
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_16]
>        at java.lang.Thread.run(Thread.java:619)[:1.6.0_16]
> [mel Thread 0 - file://src/data] GenericFileOnCompletion        WARN
> Rollback file strategy: org.apache.camel.component.file.strategy.Gener
> icFileRenameProcessStrategy@13ded59 for file:
> GenericFile[NL.U0000.P0.GLACCTS.DATA]
> [mel Thread 0 - file://src/data] DefaultErrorHandler            ERROR Failed
> delivery for exchangeId: ID-CHMA5042975-2028-1299232360245-0-2.
>  Exhausted after delivery attempt: 1 caught: java.lang.NullPointerException
> java.lang.NullPointerException
>        at
> java.io.FilterOutputStream.write(FilterOutputStream.java:80)[:1.6.0_16]
>        at
> org.apache.activemq.command.ActiveMQBytesMessage.writeBytes(ActiveMQBytesMessage.java:687)[activemq-core-5.3.2.jar:5.3.2]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessageForType(JmsBinding.java:518)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessage(JmsBinding.java:461)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.makeJmsMessage(JmsBinding.java:288)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer$2.createMessage(JmsProducer.java:233)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:197)[camel-jms-2.5.0.j
> ar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.access$100(JmsConfiguration.java:140)[camel-jms-2.5.0.jar:2.5.0]
>
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$3.doInJms(JmsConfiguration.java:174)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466)[spring-jms-3.0.4.RELEASE.jar:3.0.4.RELEASE]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:171)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:315)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:269)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:93)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:299)[camel-core-2.5.0.jar:2.5.0
> ]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:208)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:322)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:155)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:121)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:97)[camel-core-2.5.0.jar:2.5.0]
>        at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)[:1.6.0_16]
>
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_16]
>        at java.lang.Thread.run(Thread.java:619)[:1.6.0_16]
> [mel Thread 0 - file://src/data] GenericFileOnCompletion        ERROR Caused
> by: [java.lang.NullPointerException - null]
> java.lang.NullPointerException
>        at
> java.io.FilterOutputStream.write(FilterOutputStream.java:80)[:1.6.0_16]
>        at
> org.apache.activemq.command.ActiveMQBytesMessage.writeBytes(ActiveMQBytesMessage.java:687)[activemq-core-5.3.2.jar:5.3.2]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessageForType(JmsBinding.java:518)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessage(JmsBinding.java:461)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.makeJmsMessage(JmsBinding.java:288)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer$2.createMessage(JmsProducer.java:233)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:197)[camel-jms-2.5.0.j
> ar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.access$100(JmsConfiguration.java:140)[camel-jms-2.5.0.jar:2.5.0]
>
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$3.doInJms(JmsConfiguration.java:174)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466)[spring-jms-3.0.4.RELEASE.jar:3.0.4.RELEASE]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:171)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:315)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:269)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:93)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:299)[camel-core-2.5.0.jar:2.5.0
> ]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:208)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:322)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:155)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:121)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:97)[camel-core-2.5.0.jar:2.5.0]
>        at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)[:1.6.0_16]
>
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_16]
>        at java.lang.Thread.run(Thread.java:619)[:1.6.0_16]
> [mel Thread 0 - file://src/data] GenericFileOnCompletion        WARN
> Rollback file strategy: org.apache.camel.component.file.strategy.Gener
> icFileRenameProcessStrategy@13ded59 for file:
> GenericFile[NL.U0000.P0.GLACCTS.DATA]
> [mel Thread 0 - file://src/data] DefaultErrorHandler            ERROR Failed
> delivery for exchangeId: ID-CHMA5042975-2028-1299232360245-0-4.
>  Exhausted after delivery attempt: 1 caught: java.lang.NullPointerException
> java.lang.NullPointerException
>        at
> java.io.FilterOutputStream.write(FilterOutputStream.java:80)[:1.6.0_16]
>        at
> org.apache.activemq.command.ActiveMQBytesMessage.writeBytes(ActiveMQBytesMessage.java:687)[activemq-core-5.3.2.jar:5.3.2]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessageForType(JmsBinding.java:518)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessage(JmsBinding.java:461)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.makeJmsMessage(JmsBinding.java:288)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer$2.createMessage(JmsProducer.java:233)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:197)[camel-jms-2.5.0.j
> ar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.access$100(JmsConfiguration.java:140)[camel-jms-2.5.0.jar:2.5.0]
>
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$3.doInJms(JmsConfiguration.java:174)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466)[spring-jms-3.0.4.RELEASE.jar:3.0.4.RELEASE]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:171)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:315)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:269)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:93)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:299)[camel-core-2.5.0.jar:2.5.0
> ]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:208)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:322)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:155)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:121)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:97)[camel-core-2.5.0.jar:2.5.0]
>        at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)[:1.6.0_16]
>
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_16]
>        at java.lang.Thread.run(Thread.java:619)[:1.6.0_16]
> [                      Thread-1] Main$HangupInterceptor         INFO
> Received hang up - stopping the main instance.
> [                      Thread-1] MainSupport                    INFO  Apache
> Camel 2.5.0 stopping
> [                      Thread-1] BrokerService                  INFO
> ActiveMQ Message Broker (localhost, ID:CHMA5042975-2029-1299232360714-
> 0:0) is shutting down
> [         ActiveMQ ShutdownHook] BrokerService                  INFO
> ActiveMQ Message Broker (localhost, ID:CHMA5042975-2029-1299232360714-
> 0:0) is shutting down
> [cp://localhost/127.0.0.1:61616] FailoverTransport              WARN
> Transport failed to tcp://localhost:61616 , attempting to automaticall
> y reconnect due to: java.io.EOFException
> [         ActiveMQ ShutdownHook] TransportConnector             INFO
> Connector tcp://localhost:61616 Stopped
> [         ActiveMQ ShutdownHook] BrokerService                  INFO
> ActiveMQ JMS Message Broker (localhost, ID:CHMA5042975-2029-1299232360
> 714-0:0) stopped
> [                      Thread-1] TransportConnector             INFO
> Connector tcp://localhost:61616 Stopped
> [                      Thread-1] BrokerService                  INFO
> ActiveMQ JMS Message Broker (localhost, ID:CHMA5042975-2029-1299232360
> 714-0:0) stopped
> [                      Thread-1] DefaultCamelContext            INFO  Apache
> Camel 2.5.0 (CamelContext:camel-1) is shutting down
> [                      Thread-1] DefaultShutdownStrategy        INFO
> Starting to graceful shutdown 2 routes (timeout 300 seconds)
> [ Camel Thread 1 - ShutdownTask] DefaultShutdownStrategy        INFO  Route:
> route2 suspended and shutdown deferred, was consuming from: End
> point[activemq://filter.files]
> [ Camel Thread 1 - ShutdownTask] DefaultShutdownStrategy        INFO  Route:
> route1 suspended and shutdown deferred, was consuming from: End
> point[file://src/data?noop=true%3BbufferSize%3D512%3BmaxFileSize%3D500000000]
> [ Camel Thread 1 - ShutdownTask] DefaultShutdownStrategy        INFO
> Waiting as there are still 1 inflight and pending exchanges to complet
> e, timeout in 300 seconds.
> [mel Thread 0 - file://src/data] GenericFileOnCompletion        ERROR Caused
> by: [java.lang.NullPointerException - null]
> java.lang.NullPointerException
>        at
> java.io.FilterOutputStream.write(FilterOutputStream.java:80)[:1.6.0_16]
>        at
> org.apache.activemq.command.ActiveMQBytesMessage.writeBytes(ActiveMQBytesMessage.java:687)[activemq-core-5.3.2.jar:5.3.2]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessageForType(JmsBinding.java:518)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessage(JmsBinding.java:461)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.makeJmsMessage(JmsBinding.java:288)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer$2.createMessage(JmsProducer.java:233)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:197)[camel-jms-2.5.0.j
> ar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.access$100(JmsConfiguration.java:140)[camel-jms-2.5.0.jar:2.5.0]
>
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$3.doInJms(JmsConfiguration.java:174)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466)[spring-jms-3.0.4.RELEASE.jar:3.0.4.RELEASE]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:171)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:315)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:269)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:93)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:299)[camel-core-2.5.0.jar:2.5.0
> ]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:208)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:322)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:155)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:121)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:97)[camel-core-2.5.0.jar:2.5.0]
>        at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)[:1.6.0_16]
>
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_16]
>        at java.lang.Thread.run(Thread.java:619)[:1.6.0_16]
> [mel Thread 0 - file://src/data] GenericFileOnCompletion        WARN
> Rollback file strategy: org.apache.camel.component.file.strategy.Gener
> icFileRenameProcessStrategy@13ded59 for file:
> GenericFile[NL.U0000.P0.GLACCTS.DATA]
> [mel Thread 0 - file://src/data] DefaultErrorHandler            ERROR Failed
> delivery for exchangeId: ID-CHMA5042975-2028-1299232360245-0-6.
>  Exhausted after delivery attempt: 1 caught: java.lang.NullPointerException
> java.lang.NullPointerException
>        at
> java.io.FilterOutputStream.write(FilterOutputStream.java:80)[:1.6.0_16]
>        at
> org.apache.activemq.command.ActiveMQBytesMessage.writeBytes(ActiveMQBytesMessage.java:687)[activemq-core-5.3.2.jar:5.3.2]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessageForType(JmsBinding.java:518)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.createJmsMessage(JmsBinding.java:461)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsBinding.makeJmsMessage(JmsBinding.java:288)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer$2.createMessage(JmsProducer.java:233)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:197)[camel-jms-2.5.0.j
> ar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.access$100(JmsConfiguration.java:140)[camel-jms-2.5.0.jar:2.5.0]
>
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$3.doInJms(JmsConfiguration.java:174)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466)[spring-jms-3.0.4.RELEASE.jar:3.0.4.RELEASE]
>        at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:171)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:315)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:269)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:93)[camel-jms-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:299)[camel-core-2.5.0.jar:2.5.0
> ]
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:208)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:322)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:155)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:121)[camel-core-2.5.0.jar:2.5.0]
>        at
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:97)[camel-core-2.5.0.jar:2.5.0]
>        at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[:1.6.0_16]
>        at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[:1.6.0_16]
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)[:1.6.0_16]
>
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_16]
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_16]
>        at java.lang.Thread.run(Thread.java:619)[:1.6.0_16]
> [ Camel Thread 1 - ShutdownTask] DefaultShutdownStrategy        INFO  Route:
> route2 shutdown complete.
> [ Camel Thread 1 - ShutdownTask] DefaultShutdownStrategy        INFO  Route:
> route1 shutdown complete.
> [                      Thread-1] DefaultShutdownStrategy        INFO
> Graceful shutdown of 2 routes completed in 1 seconds
> [                      Thread-1] DefaultInflightRepository      INFO
> Shutting down with no inflight exchanges.
> [                      Thread-1] DefaultCamelContext            INFO
> Uptime: 4.484 seconds
> [                      Thread-1] DefaultCamelContext            INFO  Apache
> Camel 2.5.0 (CamelContext: camel-1) is shutdown in 1.360 seconds
>
>
> I am using Camel 2.5.0 and Spring 3.0.4. I am running the maven task in
> windows.
>
> Has someone come accross the similar problem before or anyone can provide
> any assistance please?
>
> Best regards,
>
> New Camel User: HYAO
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/file-transfer-failed-in-windows-when-filesize-is-big-say-35MB-tp3409217p3409217.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message