mgubaidullin commented on issue #1237:
URL: https://github.com/apache/camel-karavan/issues/1237#issuecomment-2068052726

   I don't think the Enricher problem is in Karavan. Please Open an issue for 
Camel: https://issues.apache.org/jira/projects/CAMEL
    
   As a workaround you could use HTTP Component:
   
   ```
   - route:
       id: route-e393
       nodePrefixId: route-754
       from:
         id: from-dc70
         uri: timer
         parameters:
           repeatCount: '1'
           timerName: enricherTimer
         steps:
           - setBody:
               id: setBody-a694
               expression:
                 constant:
                   id: constant-92a2
                   expression: |-
                     1
                     2
                     3
           - split:
               id: split-d7f4
               expression:
                 tokenize:
                   id: tokenize-c3f2
                   token: \n
               steps:
                 - setHeader:
                     id: setHeader-13a1
                     name: CamelHttpUri
                     expression:
                       simple:
                         id: simple-306e
                         expression: https://dummyjson.com/products/${body}
                 - to:
                     id: to-cd18
                     uri: https
                     parameters:
                       httpUri: https://localhost
                       httpMethod: GET
                       followRedirects: true
                 - log:
                     id: log-8287
                     message: ${body}
   ```


-- 
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