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

Claus Ibsen updated CAMEL-15745:
--------------------------------
    Fix Version/s: 3.7.0

> Rest DSL input/output type class
> --------------------------------
>
>                 Key: CAMEL-15745
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15745
>             Project: Camel
>          Issue Type: Improvement
>          Components: osgi, rest
>    Affects Versions: 3.6.0
>            Reporter: Ioannis Sarantidis
>            Priority: Minor
>             Fix For: 3.7.0
>
>
> Currently RestDefinition methods:
>  * _type(Class<?> classType)_
>  * _outType(Class<?> classType)_
> use the methods _setType, setOutType_ from _VerbDefinition_ that accept a 
> string instead of their variants that accept the class or should at least use 
> both variants if they are really needed.
> The reason for opening this that setting the class name only in verb 
> definition, in my OSGI application, causes ClassNotFoundException  in 
> _RestBindingReifier#setupJson_.
> As a workaround at the moment, after configuring the RestDefinition object I 
> retrieve the VerbDefinitions in it and set the _typeClass_ and _outTypeClass_ 
> manually there.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to