[ 
https://issues.apache.org/jira/browse/CAMEL-20148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17794131#comment-17794131
 ] 

Federico Mariani commented on CAMEL-20148:
------------------------------------------

Hello [~gardellajuanpablo], do you have a reproducer? I created a really simple 
project that uses camel-datasonnet-starter and a .ds file in the resource 
folder and a route like this works as expected

{code:java}
from("direct:datasonnet")
                .setProperty("test", constant("HelloWorld"))
                .setProperty("count", simple("1", Integer.class))
                .setProperty("isActive", simple("true", Boolean.class))
                .setProperty("1. Full Name", constant("DataSonnet"))
                .transform(datasonnet("resource:classpath:simpleMapping.ds", 
String.class,
                MediaTypes.APPLICATION_JSON_VALUE, 
MediaTypes.APPLICATION_JSON_VALUE))
                .to("mock:direct:datasonnet");
{code}
 
am I missing something? I mvn installed the project and run via _java -jar_

> camel-spring-boot - Upgrade to 3.2
> ----------------------------------
>
>                 Key: CAMEL-20148
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20148
>             Project: Camel
>          Issue Type: Dependency upgrade
>          Components: camel-spring-boot
>            Reporter: Claus Ibsen
>            Assignee: Federico Mariani
>            Priority: Major
>             Fix For: 4.3.0
>
>
> Also see CAMEL-19631



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to