Otavio Rodolfo Piske created CAMEL-21264:
--------------------------------------------

             Summary: camel-smb: should use WrappedFile instead of leaking 
implementation details
                 Key: CAMEL-21264
                 URL: https://issues.apache.org/jira/browse/CAMEL-21264
             Project: Camel
          Issue Type: Bug
          Components: camel-smb
    Affects Versions: 4.8.0
            Reporter: Otavio Rodolfo Piske
            Assignee: Otavio Rodolfo Piske
             Fix For: 4.8.1, 4.9.0


The consumer is recreating the [connection for every 
poll|https://github.com/apache/camel/blob/camel-4.8.0/components/camel-smb/src/main/java/org/apache/camel/component/smb/SmbConsumer.java#L106-L116].
 This causes problems because  consumers cannot read the files after the 
connection has been closed.





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to