get consumers and producers info within Camel

2020-10-22 Thread CASAUX Nicolas
Hello ! I would like to retrieve date of the consumers and the producers of my Camel context (org.apache.camel.management.mbean.ManagedConsumer and org.apache.camel.management.mbean.ManagedProducer) As I'm using Camel 3.6.0, I used this: getContext().getExtension(ManagedCamelContext.class) >Fr

RE: get consumers and producers info within Camel

2020-10-22 Thread CASAUX Nicolas
Sorry for the typo, not "date" but "data" of the consumers and the producers of my Camel context... -Message d'origine- De : CASAUX Nicolas Envoyé : jeudi 22 octobre 2020 09:32 À : users@camel.apache.org Objet : get consumers and producers info within Camel Hello ! I would like to ret

Re: get consumers and producers info within Camel

2020-10-22 Thread Claus Ibsen
Hi You can find the consumers and producers via the mbean server where you can find them in the jmx tree. See the unit tests in camel-core where you can find examples of that such as ManagedProducerTest On Thu, Oct 22, 2020 at 9:34 AM CASAUX Nicolas wrote: > > Sorry for the typo, not "date" but

Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Shenavai, Manuel
Hi everyone, I have a question regarding the camel CXF component. I setup a cxfEndpoint using a SOAP 1.2 WSDL, endpoint & port. This allows to call the endpoint with SOAP 1.2. But when I call the endpoint with SOAP 1.1 messages, I got different results. In CamelBlueprintTestSupport this works (

Mocking a class in a script

2020-10-22 Thread Иванов Григорий -
Hi I have a production route with a groovy script I should test, is there a way to mock URL class or do something else to not really make a request to production API? The problem is that besides the request part it have some other stuff I would like to be tested. I agree, this route is not as

Re: Mocking a class in a script

2020-10-22 Thread Mantas Gridinas
Id suggest providing URL as an argument, but this looks too complex to be shoved in a groovy script. On Thu, Oct 22, 2020, 12:54 Иванов Григорий - wrote: > > Hi > > I have a production route with a groovy script I should test, is there a > way to mock URL class or do something else to not really

Re: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Peter Turányi
Hello. Sorry, I don't know answer. But tell me how do you configure cxf beast to work with Camel Apache. I have tried but I have no luck. :( __ > Od: "Shenavai, Manuel [via Camel]" > Komu: "PT" > Dátum: 22.10.2020 10:27 > Predmet: Came

RE: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Peter Turányi
I am sorry but I didn't found any useful code there.   My project contains standard app class public static void main(String[] args) { SpringApplication.run(Application.class, args); }route class package org.demo.routes; import org.apache.camel.builder.RouteBuilder; import org.demo.processors.

RE: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Shultz, Dmitry
Reading the error message (and specifying serviceClass url parameter as it clearly asks) should help. From: Peter Turányi [mailto:peter.tura...@pobox.sk] Sent: Thursday, October 22, 2020 6:33 AM To: users@camel.apache.org Subject: RE: Camel CXF with SOAP 1.1 and SOAP 1.2 I am sorry but I didn'

Re: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Peter Turányi
Excuse me. I am newbee in this area. I don't know where and how to specify serviceClass.My project contains WSDL and respective classes generated by cxf-codegen-plugin WSDL2JAVA.Dňa 22. 10. 2020 o 18:00 dimas [via Camel] napísal(a):Reading the error message (and specifying serviceClass url para