RE: [Tooling] Diagramming Camel routes with PlantUML

2021-05-17 Thread CASAUX Nicolas
za 15 mei 2021 om 13:31 schreef CASAUX Nicolas < nicolas.cas...@soprasteria.com>: > Hello Camel users ! > > I created a small tool which allow to visualize Camel routes and > endpoints interactions on a PlantUML activity diagram, from a running Camel > context. > I wrote

[Tooling] Diagramming Camel routes with PlantUML

2021-05-15 Thread CASAUX Nicolas
Hello Camel users ! I created a small tool which allow to visualize Camel routes and endpoints interactions on a PlantUML activity diagram, from a running Camel context. I wrote a small blog entry on Apache Camel blog here, and images and

RE: camel-vertx-websocket

2021-01-12 Thread CASAUX Nicolas
%2BEEw%3D&reserved=0 On Tue, Jan 12, 2021 at 10:19 AM CASAUX Nicolas wrote: > > Hello again :) > > Could someone confirm that it is not possible to receive message from a > remote websocket server with this "camel-vertx-websocket" component ? Or > pointing out w

RE: camel-vertx-websocket

2021-01-12 Thread CASAUX Nicolas
remote server. Thanks! Nicolas De : CASAUX Nicolas Envoyé : mercredi 16 décembre 2020 21:45 À : users@camel.apache.org Objet : camel-vertx-websocket Hello ! I'm currenty trying to use camel-vertx-websocket component to connect to a remote ActiveMQ through a "Stomp over Websocket" c

camel-vertx-websocket

2020-12-16 Thread CASAUX Nicolas
Hello ! I'm currenty trying to use camel-vertx-websocket component to connect to a remote ActiveMQ through a "Stomp over Websocket" connection. Since version 3.7.0 of Camel released today, I can successfully set the subprotocol in URI like this, and it works: .to("vertxWebsocket://remoteActiveM

RE: JMX issues with processor

2020-12-15 Thread CASAUX Nicolas
hich camel version are you using ? And which runtime ? Regards JB > Le 14 déc. 2020 à 19:24, CASAUX Nicolas a > écrit : > > Hello ! > > I may have found two minor bugs with data available from processors through > JMX. > > 1) > When I use processors like :

JMX issues with processor

2020-12-14 Thread CASAUX Nicolas
Hello ! I may have found two minor bugs with data available from processors through JMX. 1) When I use processors like : .enrich().constant(direct("myEndpoint").failIfNoConsumers(false)) in JMX data, the exposed "ExpressionLanguage" is empty, and the "Expression" is something like "org.apache.c

RE: camel rest and missing jmx endpoint

2020-11-26 Thread CASAUX Nicolas
Hello, I just created jira https://issues.apache.org/jira/browse/CAMEL-15895 about this. Nicolas De : CASAUX Nicolas Envoyé : jeudi 26 novembre 2020 00:28 À : users@camel.apache.org Objet : RE: camel rest and missing jmx endpoint Hi Jean-Baptiste, I just found out that your mail went to

RE: camel rest and missing jmx endpoint

2020-11-25 Thread CASAUX Nicolas
jmx endpoint Hi Nicolas, It sounds like a bug to me (maybe filtering only on URI and not the verb). Can you please create a Jira I will take a look ? Thanks, Regards JB > Le 7 nov. 2020 à 08:54, CASAUX Nicolas a > écrit : > > Hello, > > I’m using some camel rest routes a

camel rest and missing jmx endpoint

2020-11-06 Thread CASAUX Nicolas
Hello, I'm using some camel rest routes and found something unexpected with the examples provided in https://camel.apache.org/manual/latest/rest-dsl.html rest("/say") .get("/hello").to("direct:hello") .get("/bye").consumes("application/json").to("direct:bye") .post("/bye"

enricher and dynamic endpoint

2020-11-04 Thread CASAUX Nicolas
Hello, I found something which seems unexpected with the enrich processor and Camel 3.6.0. If you consider those 2 routes: from(timer("foo")) .setBody(constant("1")) .enrich("seda://test-${body}"); from(timer("bar")) .setBody(constant("2")) .enrich(seda("test-${

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

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: multiple consumers with ahc-ws component

2020-10-20 Thread CASAUX Nicolas
Thanks Claus, Jira is created! https://issues.apache.org/jira/browse/CAMEL-15716 -Message d'origine- De : Claus Ibsen Envoyé : mardi 20 octobre 2020 06:43 À : users@camel.apache.org Objet : Re: multiple consumers with ahc-ws component On Mon, Oct 19, 2020 at 11:32 PM CASAUX Ni

RE: multiple consumers with ahc-ws component

2020-10-19 Thread CASAUX Nicolas
e 2020 17:48 À : users@camel.apache.org Objet : Re: multiple consumers with ahc-ws component Hi There are a few other camel websocket components you can try also. On Sat, Oct 17, 2020 at 1:19 AM CASAUX Nicolas wrote: > > Hello ! > > I have a requirement to open multiple websocket connection

multiple consumers with ahc-ws component

2020-10-16 Thread CASAUX Nicolas
Hello ! I have a requirement to open multiple websocket connections to an ActiveMQ broker. As far as I understand, the only (?) Camel component for this is the ahc-ws component. I managed to use it, however I can't open more than 1 connection to the ActiveMQ, because I encounter a "already ha

route templates and spring boot

2020-10-14 Thread CASAUX Nicolas
Hello ! I'm trying to experiment with the new route templates features along with spring boot. I just tried to create a class with both the template and the route provided in the camel page https://camel.apache.org/manual/latest/route-template.html: I'm using Camel 3.5 and springboot 2.3.4 @Com

RE: Camel Opentracing and incorrect HTTP method

2020-09-24 Thread CASAUX Nicolas
GET or POST > depending on whether the body is null or not. > But since you have an explicit header with the http operation to use, > then that ought to take presence. > > So the span may report something different than what http actually was > using. You can maybe check t

RE: Camel Opentracing and incorrect HTTP method

2020-09-24 Thread CASAUX Nicolas
"http_status_code": 200, "camel_uri": "http://dummy";, "http_url": "http://localhost:3000/answer"; }, That made me think that the "http_method" in the span is maybe determined on the exchange body (null or not null) ? --

Camel Opentracing and incorrect HTTP method

2020-09-24 Thread CASAUX Nicolas
Hello, ! Trying to play with Camel 3.5.0 and Opentracing on Springboot, with Elastic APM, with this simple route: from("timer:hello?repeatCount=1&delay=1000").routeId("init") .setBody(constant(null)) .setHeader(Exchange.HTTP_METHOD, constant(HttpMethods.POST)) .setHeader(

pollEnrich and timeout issue

2020-09-19 Thread CASAUX Nicolas
Hello ! I'm trying to use this simple route with Camel 3.4.3 and springboot : from("timer:hello?repeatCount=1&delay=1000").routeId("hello") .to("log:1") .pollEnrich("file:d:\\temp?noop=true&fileName=dummy.csv",5000) .to("log:2"); I run it without the file dummy.csv, to t

url/http streaming issue

2018-06-08 Thread CASAUX Nicolas
Hello, I'm currently facing 2 issues related to the streaming component with URL. I have to use an API which is available through HTTP Server-Sent Events, with a GET method. However, to properly use this API, I have to set a custom header. I couldn't manage to achieve this. 1) using a "fro