Luigi De Masi created CAMEL-22848:
-------------------------------------

             Summary: camel-file: checksumFileAlgorithm option is ignored due 
to missing mapping in GenericFileEndpoint
                 Key: CAMEL-22848
                 URL: https://issues.apache.org/jira/browse/CAMEL-22848
             Project: Camel
          Issue Type: Bug
          Components: camel-file
    Affects Versions: 4.17.0
            Reporter: Luigi De Masi
            Assignee: Luigi De Masi


When configuring a file endpoint with the checksumFileAlgorithm option (e.g., 
file:target?checksumFileAlgorithm=SHA-256), the configuration seems to be 
ignored during
  runtime execution.  The issue is located in 
org.apache.camel.component.file.GenericFileEndpoint.
  The method getParamsAsMap(), which is responsible for collecting and 
propagating endpoint parameters (used internally by strategies and consumers), 
explicitly constructs
  a Map<String, Object> but fails to include the checksumFileAlgorithm property.

  As a result, the configured algorithm is not passed down to the underlying 
process strategy or producer logic that relies on this parameter map.



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

Reply via email to