assimbly / custom-components

Custom Camel Components
Apache License 2.0
1 stars 2 forks source link

ZipFileEnrichStrategy - PoolEnrich - if newExchange is null, it means there's no remote file to consume #127

Closed brunovg closed 1 week ago

brunovg commented 2 weeks ago

First, you check whether any data was consumed. If newExchange is null, there’s no remote file to consume, and you just return the existing data.

https://livebook.manning.com/book/camel-in-action-second-edition/chapter-3/117