tarilabs commented on issue #3981:
URL: https://github.com/apache/camel-k/issues/3981#issuecomment-1456272916

   @lburgazzoli 
   
   may I deduce the actual snippet you intended was:
   
   ```java
   @Converter(generateLoader = true)
   public class IOConverter {
       @Converter
   ```
   
   ```diff
   -    public static DecisionTable toDecisionTable(Exchange exchange, String 
raw)  {
   -        return  new ObjectMapper().readValue(), DecisionTable.class);
   +    public static DecisionTable toDecisionTable(String raw)  {
   +        return  new ObjectMapper().readValue(raw, DecisionTable.class);
   ```
   
   as in, not being a type converter for exchange-parameter but Processor 
property (of the instance level, not Exchange-level), please?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to