[ 
https://issues.apache.org/jira/browse/CAMEL-26499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18136742#comment-18136742
 ] 

Claus Ibsen commented on CAMEL-26499:
-------------------------------------

PR: https://github.com/apache/camel/pull/28977

# The WrappedFile to Smooks Source converter now reads a java.io.File from its 
URL and a remote file from its downloaded content, like SmooksProcessor since 
CAMEL-26062.
# A bean route with a correlation id now also sets the 
CamelSmooksExecutionContext header.

_Claude Code on behalf of Claus Ibsen (davsclaus)_

> camel-smooks - toURISource fails for a remote file body, and BeanRouter with 
> a correlation id does not set CamelSmooksExecutionContext
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-26499
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26499
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smooks
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> Follow-up of CAMEL-26062 (PR #28890).
> # SourceConverter.toURISource casts the file of a GenericFile to 
> java.io.File, so a remote file body (ftp, sftp, ftps), whose file is not a 
> java.io.File, fails with a ClassCastException. CAMEL-26062 fixed the same 
> cast in the other body path; this converter still has it.
> # BeanRouter: the branch with a correlation id does not set the 
> CamelSmooksExecutionContext header that the branch without a correlation id 
> sets.
> _Claude Code on behalf of Claus Ibsen (davsclaus)_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to