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

Zoran Regvart resolved CAMEL-10258.
-----------------------------------
       Resolution: Cannot Reproduce
         Assignee: Zoran Regvart
    Fix Version/s: 2.21.0

I've tested with the current version of {{camel-salesforce-maven-plugin}}, the 
generated code is:
{code:java}
@JsonProperty("multi__c")
@JsonSerialize(using = MultiSelectPicklistSerializer.class)
@JsonInclude(value = Include.ALWAYS)
public Picker__c__multiEnum[] getmulti__c() {
    return multi__c;
}
{code}
Compiles without issues. This must be a local (classpath?) issue.

> Camel-salesforce-maven-plugin generates classes with checked exception
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-10258
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10258
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-salesforce
>    Affects Versions: 2.17.3
>            Reporter: Rajesh A
>            Assignee: Zoran Regvart
>            Priority: Minor
>             Fix For: 2.21.0
>
>
> When I tried to compile the generated dto classes from 
> camel-salesforce-maven-plugin, I get the below compilation error:
> "Type mismatch: cannot convert from Class<MultiSelectPicklistSerializer> to 
> Class<? extends JsonSerializer<?>>"
> Below is the sample code which causes this issue::
>   *@JsonSerialize(using = MultiSelectPicklistSerializer.class)*
> Can you please help to resolve this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to