[
https://issues.apache.org/jira/browse/CAMEL-21984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomas Veskrna updated CAMEL-21984:
-----------------------------------
Priority: Minor (was: Major)
> 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
> 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)