Re: Using Java processors/aggregators with YAML & Camel JBang

2023-02-15 Thread Claus Ibsen
You can try look at local beans with "script" where you can embed the java code https://camel.apache.org/manual/route-template.html#_binding_beans_to_route_templates_using_bean_types However that is used for kamelets, but could potentially also work in yaml-dsl, where you can declare beans as well

AW: Camel REST Component and Jersey to trigger Camel Routes withg Java DSL (without Springboot)

2023-02-15 Thread Penagos Jaime
Hello, thanks, I will check the unit test out, and if necessary would switch to spring boot if it's the case. Thank you very much ^^ Best regards, -Ursprüngliche Nachricht- Von: Claus Ibsen Gesendet: Mittwoch, 15. Februar 2023 15:36 An: users@camel.apache.org Betreff: Re: Camel RES

Re: Using Java processors/aggregators with YAML & Camel JBang

2023-02-15 Thread Mikael Koskinen
Hey, Few minutes later... camel run aggregator.yaml Aggregator.java Seems to work. I kind of thought that the files given to the run command are just integration files but this is good. Now, if there's a possibility to include the Aggregator.java inside the aggregator.yaml somehow, that would b

Re: Using Java processors/aggregators with YAML & Camel JBang

2023-02-15 Thread Claus Ibsen
Hi You need to run it with camel run * Or to specify each file ala camel run file1 file2 On Thu, Feb 16, 2023 at 7:22 AM Mikael Koskinen wrote: > Hi, > > I'm trying but failing to use Java processors/Java classes when > writing integrations with YAML and running them with Camel JBang. >

Using Java processors/aggregators with YAML & Camel JBang

2023-02-15 Thread Mikael Koskinen
Hi, I'm trying but failing to use Java processors/Java classes when writing integrations with YAML and running them with Camel JBang. I started by cloning this example: https://github.com/apache/camel-karavan/tree/main/karavan-demo/aggregator But running with using simple: camel run aggregator.

Re: Smooks Component

2023-02-15 Thread Claus Ibsen
Hi There has never been an smooks component from Apache Camel itself. Its 3rd party and comes from Smooks itself. So you should ask in their community https://www.smooks.org/v2/documentation/#apache_camel org.smooks.cartridges smooks-camel-cartridge 2.0.0-RC1 On Wed, Feb 15, 2023 at 6:04 PM M

Smooks Component

2023-02-15 Thread Michael Rambichler
Hi Folks, do i miss something or why do i not find the smooks component under camel components? https://www.smooks.org/ It was integrated but now i cannot find it anymore I am investigating EDIFact transformations (Migrate from Or*** B2B Suite) Thanks for your help Michael

Re: Camel REST Component and Jersey to trigger Camel Routes withg Java DSL (without Springboot)

2023-02-15 Thread Claus Ibsen
No such example - we tend to have plain examples or for spring boot / quarkus. You can see unit test of camel-servlet that has tests with rest-dsl. On Wed, Feb 15, 2023 at 3:09 PM Penagos Jaime < jaime.pena...@ub.uni-muenchen.de> wrote: > Is there any example in the camel examples git or in th

AW: Camel REST Component and Jersey to trigger Camel Routes withg Java DSL (without Springboot)

2023-02-15 Thread Penagos Jaime
Is there any example in the camel examples git or in the camel website where I can see how is it done? Somehow I included the parameters in the web.xml and the context paths and it doesnt seem to work... Thank you so much for the advice -Ursprüngliche Nachricht- Von: Claus Ibsen Gesen

Re: Camel REST Component and Jersey to trigger Camel Routes withg Java DSL (without Springboot)

2023-02-15 Thread Claus Ibsen
Try with camel-servlet that can link to a servlet container - which I assume jersey maybe can do On Wed, Feb 15, 2023 at 2:46 PM Penagos Jaime < jaime.pena...@ub.uni-muenchen.de> wrote: > Hello everyone, > > I have a (what I think) might be a rookie mistake question about Camel > REST and Java DS

Camel REST Component and Jersey to trigger Camel Routes withg Java DSL (without Springboot)

2023-02-15 Thread Penagos Jaime
Hello everyone, I have a (what I think) might be a rookie mistake question about Camel REST and Java DSL, and am looking for advice I created a basic RESTful webservice with a simple "hello world" (with jersey 1.19), and would like to link that to the REST component in camel, without using Sp