You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Federico Mariani (Jira)" <ji...@apache.org> on 2025/04/17 12:51:00 UTC

[jira] [Work started] (CAMEL-21984) camel-smb File type is wrong in documentation

     [ https://issues.apache.org/jira/browse/CAMEL-21984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-21984 started by Federico Mariani.
------------------------------------------------
> camel-smb File type is wrong in documentation 
> ----------------------------------------------
>
>                 Key: CAMEL-21984
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21984
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smb
>    Affects Versions: 4.10.3
>            Reporter: Tomas Veskrna 
>            Assignee: Federico Mariani
>            Priority: Minor
>
> In the doc is written that filetype is com.hierynomus.smbj.share.File
> [https://github.com/apache/camel/blob/camel-4.10.x/components/camel-smb/src/main/docs/smb-component.adoc?plain=1#L103]
> There were changes about GenericFile and [SmbFile|https://github.com/apache/camel/blob/camel-4.10.x/components/camel-smb/src/main/java/org/apache/camel/component/smb/SmbFile.java] class was created.
> This code return null:
> {code:java}
> exchange.getMessage().getBody(com.hierynomus.smbj.share.File.class);
> {code}
> Type of body when I try this
> {code:java}
> exchange.getMessage().getBody().getClass().getName()
> {code}
> resolves as *org/apache/camel/component/smb/SmbFile.java*



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