Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.22.0
-
None
-
Win 11
-
Unknown
Description
Component: camel-azure-files 3.22.0-SNAPSHOT
from(samples + "/" + example + "?" + authParams + "&move=/consumed/" + example + "&repeatCount=3").log(
"${header.CamelFileName} discovered and consumed (size=${header.CamelFileLength}, modified=${header.CamelFileLastModified})")
.log("Content: ${body}");
results in:
2023-09-01 11:29:25.700 INFO 6192 — [9-20.970820900Z] route2 : Content: 2023-09-01T09:29:21.528414200Z
2023-09-01 11:29:25.700 DEBUG 6192 — [9-20.970820900Z] o.a.c.c.file.GenericFileOnCompletion : Done processing file: RemoteFile[/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z] using exchange: Exchange[]
2023-09-01 11:29:25.700 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.GenericFileOnCompletion : Commit file strategy: org.apache.camel.component.file.strategy.GenericFileRenameProcessStrategy@3e217178 for file: RemoteFile[/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z]
2023-09-01 11:29:25.700 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : releaseRetrievedFileResources(F1E233EAE3FC54E-0000000000000000)
2023-09-01 11:29:25.702 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : newGenericFile()
2023-09-01 11:29:25.702 TRACE 6192 — [9-20.970820900Z] o.a.camel.component.file.GenericFile : Changing name to: /consumed/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z
2023-09-01 11:29:25.702 TRACE 6192 — [9-20.970820900Z] o.a.camel.component.file.GenericFile : Normalized endpointPath: \moveAbsoluteExample\2023-09-01T09-29-20.970820900Z{color}
2023-09-01 11:29:25.703 TRACE 6192 — [9-20.970820900Z] o.a.camel.component.file.GenericFile : Normalized newFileName: \consumed\moveAbsoluteExample\2023-09-01T09-29-20.970820900Z\2023-09-01T09-29-20.970820900Z
2023-09-01 11:29:25.704 TRACE 6192 — [9-20.970820900Z] o.a.camel.component.file.GenericFile : FileNameOnly: 2023-09-01T09-29-20.970820900Z
2023-09-01 11:29:25.704 TRACE 6192 — [9-20.970820900Z] o.a.camel.component.file.GenericFile : FileName: 2023-09-01T09-29-20.970820900Z
2023-09-01 11:29:25.704 TRACE 6192 — [9-20.970820900Z] o.a.camel.component.file.GenericFile : Absolute: true
2023-09-01 11:29:25.704 TRACE 6192 — [9-20.970820900Z] o.a.camel.component.file.GenericFile : Relative path: /consumed/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z
2023-09-01 11:29:25.704 TRACE 6192 — [9-20.970820900Z] o.a.camel.component.file.GenericFile : Absolute path: /consumed/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z
2023-09-01 11:29:25.704 TRACE 6192 — [9-20.970820900Z] o.a.camel.component.file.GenericFile : Name changed to: RemoteFile[/consumed/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z]
2023-09-01 11:29:25.705 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : deleteFile(/consumed/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z)
2023-09-01 11:29:25.705 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : isConnected()
2023-09-01 11:29:25.705 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : changeCurrentDirectory(/consumed/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z)
2023-09-01 11:29:25.705 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : > cd /
2023-09-01 11:29:25.705 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : isConnected()
2023-09-01 11:29:25.705 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : > cd consumed
2023-09-01 11:29:25.723 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : consumed> cd moveAbsoluteExample
2023-09-01 11:29:25.769 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : consumed/moveAbsoluteExample> cd 2023-09-01T09-29-20.970820900Z
2023-09-01 11:29:25.793 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : buildDirectory(/consumed/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z,true)
2023-09-01 11:29:25.836 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : > mkdir consumed
2023-09-01 11:29:25.905 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : consumed> mkdir moveAbsoluteExample
2023-09-01 11:29:25.983 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : consumed/moveAbsoluteExample> mkdir 2023-09-01T09-29-20.970820900Z
2023-09-01 11:29:26.048 DEBUG 6192 — [9-20.970820900Z] .c.f.s.GenericFileProcessStrategySupport : Renaming file: RemoteFile[/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z] to: RemoteFile[/consumed/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z]
2023-09-01 11:29:26.048 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : renameFile(/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z, /consumed/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z)
2023-09-01 11:29:26.049 WARN 6192 — [9-20.970820900Z] o.a.c.c.file.GenericFileOnCompletion : Rollback file strategy: org.apache.camel.component.file.strategy.GenericFileRenameProcessStrategy@3e217178 for file: RemoteFile[/moveAbsoluteExample/2023-09-01T09-29-20.970820900Z/2023-09-01T09-29-20.970820900Z]
2023-09-01 11:29:26.049 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.azure.FilesOperations : releaseRetrievedFileResources(F1E233EAE3FC54E-0000000000000000)
2023-09-01 11:29:26.052 WARN 6192 — [9-20.970820900Z] o.apache.camel.support.UnitOfWorkHelper : Exception occurred during onCompletion. This exception will be ignored.
java.lang.AssertionError: null
at org.apache.camel.component.file.azure.FilesOperations.getFileClient(FilesOperations.java:670) ~[classes/:na]
at org.apache.camel.component.file.azure.FilesOperations.renameFile(FilesOperations.java:177) ~[classes/:na]
at org.apache.camel.component.file.strategy.GenericFileProcessStrategySupport.renameFile(GenericFileProcessStrategySupport.java:146) ~[camel-file-3.20.0.jar:3.20.0]
at org.apache.camel.component.file.strategy.GenericFileRenameProcessStrategy.commit(GenericFileRenameProcessStrategy.java:121) ~[camel-file-3.20.0.jar:3.20.0]
at org.apache.camel.component.file.GenericFileOnCompletion.processStrategyCommit(GenericFileOnCompletion.java:134) ~[camel-file-3.20.0.jar:3.20.0]
at org.apache.camel.component.file.GenericFileOnCompletion.onCompletion(GenericFileOnCompletion.java:86) ~[camel-file-3.20.0.jar:3.20.0]
at org.apache.camel.component.file.GenericFileOnCompletion.onComplete(GenericFileOnCompletion.java:60) ~[camel-file-3.20.0.jar:3.20.0]
at org.apache.camel.support.UnitOfWorkHelper.doneSynchronization(UnitOfWorkHelper.java:98) ~[camel-support-3.20.0.jar:3.20.0]
at org.apache.camel.support.UnitOfWorkHelper.doneSynchronizations(UnitOfWorkHelper.java:87) ~[camel-support-3.20.0.jar:3.20.0]
at org.apache.camel.impl.engine.DefaultUnitOfWork.done(DefaultUnitOfWork.java:237) ~[camel-base-engine-3.20.0.jar:3.20.0]
at org.apache.camel.support.UnitOfWorkHelper.doneUow(UnitOfWorkHelper.java:55) ~[camel-support-3.20.0.jar:3.20.0]
at org.apache.camel.impl.engine.CamelInternalProcessor$UnitOfWorkProcessorAdvice.after(CamelInternalProcessor.java:760) ~[camel-base-engine-3.20.0.jar:3.20.0]
at org.apache.camel.impl.engine.CamelInternalProcessor$UnitOfWorkProcessorAdvice.after(CamelInternalProcessor.java:695) ~[camel-base-engine-3.20.0.jar:3.20.0]
at org.apache.camel.impl.engine.CamelInternalProcessor$AsyncAfterTask.done(CamelInternalProcessor.java:257) ~[camel-base-engine-3.20.0.jar:3.20.0]
at org.apache.camel.AsyncCallback.run(AsyncCallback.java:44) ~[camel-api-3.20.0.jar:3.20.0]
at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:181) ~[camel-base-engine-3.20.0.jar:3.20.0]
at org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:59) ~[camel-base-engine-3.20.0.jar:3.20.0]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:165) ~[camel-core-processor-3.20.0.jar:3.20.0]
at org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:392) ~[camel-base-engine-3.20.0.jar:3.20.0]
at org.apache.camel.impl.engine.DefaultAsyncProcessorAwaitManager.process(DefaultAsyncProcessorAwaitManager.java:83) ~[camel-base-engine-3.20.0.jar:3.20.0]
at org.apache.camel.support.AsyncProcessorSupport.process(AsyncProcessorSupport.java:41) ~[camel-support-3.20.0.jar:3.20.0]
at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:485) ~[camel-file-3.20.0.jar:3.20.0]
at org.apache.camel.component.file.remote.RemoteFileConsumer.processExchange(RemoteFileConsumer.java:151) ~[camel-ftp-3.22.0-SNAPSHOT.jar:3.22.0-SNAPSHOT]
at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:245) ~[camel-file-3.20.0.jar:3.20.0]
at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:206) ~[camel-file-3.20.0.jar:3.20.0]
at org.apache.camel.support.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:202) ~[camel-support-3.20.0.jar:3.20.0]
at org.apache.camel.support.ScheduledPollConsumer.run(ScheduledPollConsumer.java:116) ~[camel-support-3.20.0.jar:3.20.0]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[na:na]
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]
2023-09-01 11:29:26.053 TRACE 6192 — [9-20.970820900Z] o.a.c.c.file.remote.RemoteFileConsumer : postPollCheck on azure-files://camelazurefiles