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

Claus Ibsen updated CAMEL-21984:
--------------------------------
    Fix Version/s: 4.10.4
                   4.12.0

> camel-smb File type is wrong in documentation 
> ----------------------------------------------
>
>                 Key: CAMEL-21984
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21984
>             Project: Camel
>          Issue Type: Task
>          Components: camel-smb
>    Affects Versions: 4.10.3
>            Reporter: Tomas Veskrna 
>            Assignee: Federico Mariani
>            Priority: Minor
>             Fix For: 4.10.4, 4.12.0
>
>
> 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)

Reply via email to