You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "jubar (Jira)" <ji...@apache.org> on 2025/04/07 08:37:00 UTC

[jira] [Updated] (CAMEL-21938) camel-jolt - inputType & outputType can't be set for http uris

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

jubar updated CAMEL-21938:
--------------------------
    Description: 
inputType & outputType uri params are ignored if the resourceUri is a HTTP uri.

This method clears the parameter map: [https://github.com/apache/camel/blob/b4f0c8d00d2dd7f5a9397d8422d3b6e52998505d/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/JoltComponent.java#L50]

 

Example:
{noformat}
from(seda("incoming"))
    .to("jolt:https://test-server/transform.json?inputType=jsonString&outputType=jsonString")
    .to(seda("outgoing"));{noformat}
 

 

  was:
 

inputType & outputType uri params are ignored if the resourceUri is a HTTP uri.

This method clears the parameter map: [https://github.com/apache/camel/blob/b4f0c8d00d2dd7f5a9397d8422d3b6e52998505d/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/JoltComponent.java#L50]

 

Example:
{noformat}
from(seda("incoming"))
    .to("jolt:https://test-server/transform.json?inputType=jsonString&outputType=jsonString")
    .to(seda("outgoing"));{noformat}
 

 


> camel-jolt - inputType & outputType can't be set for http uris
> --------------------------------------------------------------
>
>                 Key: CAMEL-21938
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21938
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jolt
>    Affects Versions: 4.8.6, 4.10.3, 4.11.0
>            Reporter: jubar
>            Priority: Minor
>
> inputType & outputType uri params are ignored if the resourceUri is a HTTP uri.
> This method clears the parameter map: [https://github.com/apache/camel/blob/b4f0c8d00d2dd7f5a9397d8422d3b6e52998505d/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/JoltComponent.java#L50]
>  
> Example:
> {noformat}
> from(seda("incoming"))
>     .to("jolt:https://test-server/transform.json?inputType=jsonString&outputType=jsonString")
>     .to(seda("outgoing"));{noformat}
>  
>  



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