Re: Svar: Re: Camel Quarkus 3.10.0/4.4.5 missing extension?

2024-05-04 Thread James Netherton
If you're setting camel.metrics.enabled = true. Try removing it. Your metrics should still get published without it. On Sat, 4 May 2024 at 18:29, Mikael Andersson Wigander wrote: > Yes but that’s the thing. > > I have them both. > > /M > > Den 4 maj 2024 kl 19:02, Jam

Re: Camel Quarkus 3.10.0/4.4.5 missing extension?

2024-05-04 Thread James Netherton
Hi, There is no extension for camel-micrometer-prometheus. You can use camel-quarkus-micrometer and add an additional dependency for quarkus-micrometer-registry-prometheus. io.quarkus quarkus-micrometer-registry-prometheus Then all of your metrics will be available on the /q/metrics en

Re: Svar: Re: Unable to get Openapi/swagger in Camel Quarkus

2024-04-11 Thread James Netherton
Hi, By default, there is no direct integration with quarkus-smallrye-openapi. If you want your Camel REST services to be published under /q/openapi, there is a configuration property to enable this: quarkus.camel.openapi.expose.enabled=true There's more information here: https://camel.apache.or

Re: JQ: Function strftime/1 does not exist

2023-04-18 Thread James Netherton
I created a ticket for it: https://issues.apache.org/jira/browse/CAMEL-19276 -- James On Tue, 18 Apr 2023 at 12:57, Claus Ibsen wrote: > Hi > > Maybe we should include that -extra out of the box in camel-jq > > On Tue, Apr 18, 2023 at 1:02 PM James Netherton > wrote: >

Re: JQ: Function strftime/1 does not exist

2023-04-18 Thread James Netherton
Hi, Have you added jackson-jq-extra to the application classpath? -- James On Mon, 17 Apr 2023 at 16:32, Mikael Koskinen wrote: > Hi, > > When using the following JQ expression: > > now | strftime("%Y-%d-%m") > > I get the following error: > > CaughtExceptionType: org.apache.camel.RuntimeCam

Re: Using reactive datasource in Camel Quarkus?

2023-03-17 Thread James Netherton
ources connect to the > same database. > > Even with different DS in the properties file declared it will not work. > > > /M > > > --- Original Message --- > On Thursday, March 16th, 2023 at 08:46, James Netherton < > jamesnether...@gmail.com> w

Re: Using reactive datasource in Camel Quarkus?

2023-03-16 Thread James Netherton
Hi, I don't think it is possible. The SQL component expects a JDBC datasource, so you'll need to add the appropriate Quarkus JDBC driver extension + configuration. I think you should be able to keep most of the datasource configuration the same as the reactive DS config and add the JDBC specific

Re: Simple not working with Quarkus

2022-01-27 Thread James Netherton
> Caused by: org.apache.camel.NoSuchLanguageException: No language could be found for: bean You need to add a dependency on camel-quarkus-bean. -- James On Thu, 27 Jan 2022 at 09:34, Ajmera, Hemang C wrote: > Hi >.simple is not working with quarkus version 2.6.3 which uses camel > version

Re: Trace steps in the route with open tracing

2021-07-07 Thread James Netherton
I think it can work if you pass the active span initiated by Camel to the bean methods. For example: public class Bean1 { @Traced public void methodA(Span span) { // Do something } } Then in the Camel route: from("direct:start) .process(e -> { OpenTracingSpa

Re: How to declare a datasource in Camel Quarkus JDBC?

2020-11-30 Thread James Netherton
Take a look at the camel-quarkus JDBC extension integration test: https://github.com/apache/camel-quarkus/tree/master/integration-tests/jdbc You can use Quarkus properties to define the datasource in application.properties: https://github.com/apache/camel-quarkus/blob/master/integration-tests/jd

Re: Camel-websocket-jsr356 help?

2020-10-29 Thread James Netherton
Maybe try with Camel 3.x if you can because there are a few fixes for that component that are not present in Camel 2.x. -- James On Thu, 29 Oct 2020 at 08:27, jesse moseman wrote: > > I'm trying to use the camel-websocket-jsr356 package but when I try to host > a websocket via websocket-jsr356:

[ANNOUNCEMENT] Apache Camel Quarkus 1.1.0 Released

2020-09-13 Thread James Netherton
The Camel community announces the immediate availability of Apache Camel Quarkus 1.1.0. The artifacts are published and ready for you to download either from the Apache mirrors or from maven central. For more info please visit the project GitHub repository[1]. Many thanks to all who made this rel

Camel Hystrix behaviour when circuit is open

2016-10-25 Thread James Netherton
Hi all, I've been experimenting with camel-hystrix and wanted to check what the expected (or correct) behaviour should be when the Hystrix circuit is open. Looking at HystrixProcessorCommand.getFallback(), the fallback command is only ever run if a prior exception was encountered. However, when t

WildFly-Camel-4.0.0 released

2016-04-04 Thread James Netherton
Dear Friends, I’m happy to announce the release of wildfly-camel-4.0.0 WildFly-Camel 4.0.0 provides Camel-2.17 integration with WildFly-10.0. This is a major upgrade release with a number of exiting features. Most noteworthy, w