Installation of activemq-camel with Camel 3.0.0 inside karaf 4.2.7 failed

2020-01-02 Thread Gerald Kallas
Dear community, I'm trying to install the activemq-camel feature together with Camel 3.0.0. See following excerpt of commands karaf@root()> feature:repo-add camel 3.0.0 Adding feature url mvn:org.apache.camel.karaf/apache-camel/3.0.0/xml/features karaf@root()> feature:install camel karaf@root()>

Re: Installation of activemq-camel with Camel 3.0.0 inside karaf 4.2.7 failed

2020-01-02 Thread Gerald Kallas
gt; mailto:anco...@gmail.com > ha scritto: > > > > > You need to install camel-activemq and not activemq-camel > > > > > > > > Il gio 2 gen 2020, 18:44 Gerald Kallas < > catsh...@mailbox.org mailto:catsh...@mail

ActiveMQ endpoint in Camel 3.0.0 reports an "java.lang.IllegalArgumentException: wrong number of arguments"

2020-01-02 Thread Gerald Kallas
Dear community, I've set up a blueprint route with an endpoint as following http://www.osgi.org/xmlns/blueprint/v1.0.0";> http://camel.apache.org/schema/blueprint";> While trying to deploy the route the runtime reports an error Failed to resolve endpoint: activemq://queu

Re: ActiveMQ endpoint in Camel 3.0.0 reports an "java.lang.IllegalArgumentException: wrong number of arguments"

2020-01-02 Thread Gerald Kallas
Tx, this solved the problem. Best - Gerald > Claus Ibsen hat am 2. Januar 2020 um 19:35 > geschrieben: > > > Hi > > You need to use camel-activemq component which has a different class > name, the code above seems to be using activemq-camel. > > On Thu, Jan 2,

Use of Spring Beans within DSL instead of Blueprint / general configuration of ActiveMQ

2020-01-02 Thread Gerald Kallas
Dear community, we were using this XML dialect before http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:prop="http://camel.apache.org/schema/placeholder"; xsi:schemaLocation="http://ca

JMS configuration seems to be lost after installation of camel-activemq feature

2020-01-03 Thread Gerald Kallas
Dear community, I've executed following steps at a vanilla karaf 4.2.7 karaf@root()> feature:repo-add hawtio 2.8.0 Adding feature url mvn:io.hawt/hawtio-karaf/2.8.0/xml/features karaf@root()> feature:repo-add activemq 5.15.11 Adding feature url mvn:org.apache.activemq/activemq-karaf/5.15.11/xml/f

SSL Configuration of the Camel 3.0.0 HTTP component in a blueprint route seems to be incomplete

2020-01-05 Thread Gerald Kallas
Dear community, I'm using Karaf 4.2.7 with Camel 3.0.0. For calling an external HTTPS resource I need to configure the truststore for the Camel HTTP component. See my blueprint route below http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:camel="http://camel.apache.org/schema/blueprint";>

Re: SSL Configuration of the Camel 3.0.0 HTTP component in a blueprint route seems to be incomplete

2020-01-06 Thread Gerald Kallas
set the trust store, 2. helped with certs that not match the hostname Best - Gerald > Gerald Kallas < catsh...@mailbox.org mailto:catsh...@mailbox.org > hat am > 5. Januar 2020 um 14:50 geschrieben: > > > Dear community, > > I'm using Karaf 4.2.7 wi

Availability of HTTP4 component in Camel 3.0.0

2020-01-06 Thread Gerald Kallas
Dear community, I'm using Camel 3.0.0 ant did find the HTTP component only. When would become the HTTP4 component part of the release? Best - Gerald

JMS connection pooling configuration instance wide in Camel 3.0.0 (Karaf 4.2.7)

2020-01-06 Thread Gerald Kallas
Dear community, I'm currently configuring the JMS connection factory within a blueprint XML like Could this be done in one of the config files in etc folder for the whole instance of Karaf/Camel? Any hints are helpful, tx in advance. Best - Gerald

Camel 3.0.0 marshal component doesn't allow ref attribute

2020-01-06 Thread Gerald Kallas
Dear community, I've following snippet http://www.osgi.org/xmlns/blueprint/v1.0.0";> ... ... While deploying I'm getting Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'ref' is not allowed to appear in element 'marshal'. In Spring XML of older Camel installation

Re: Camel 3.0.0 marshal component doesn't allow ref attribute

2020-01-06 Thread Gerald Kallas
/apache/camel/model/MarshalDefinition.java#L135 > > On Mon, Jan 6, 2020 at 10:04 AM Claus Ibsen wrote: > > > > Hi > > > > Use to refer to a custom data format (eg its custom > > when its a ) > > > > > > > > > > > >

Spring DSL vs. Blueprint XML inside Camel 3.0.0

2020-01-06 Thread Gerald Kallas
Dear community, we're starting the use of Camel 3.0.0 inside Karaf 4.2.7. What is the recommended XML DSL? Spring DSL or Blueprint XML? When we want to leverage Spring XML, ho to enable the hot deployment inside Karaf? Many thanks in advance for comments and hints. Best - Gerald

Re: Spring DSL vs. Blueprint XML inside Camel 3.0.0

2020-01-06 Thread Gerald Kallas
mel 3. And on 2.x its > deprecated, and is NOT recommended at all (spring-dm is dead). > Use only blueprint xml. > > > > > On Mon, Jan 6, 2020 at 10:37 AM Gerald Kallas wrote: > > > > Dear community, > > > > we're starting the use of Camel 3.0.0 ins

Parsing JSON within the Camel Velocity component template?

2020-01-06 Thread Gerald Kallas
Dear community, I've following snippet .. [{"name":"Wonderland","surname":"Alice"}] The body comes from a jsonpath expression earlier. I've just stripped it to the essentials. Is it possible to access inside a Camel Velocity component template to the attribute values for name and surname? M

Re: JMS connection pooling configuration instance wide in Camel 3.0.0 (Karaf 4.2.7)

2020-01-06 Thread Gerald Kallas
d. > > You have a full JMS example in Karaf distribution: > > https://github.com/apache/karaf/blob/master/examples/karaf-jms-example/karaf-jms-example-features/src/main/feature/feature.xml#L35 > > Regards > JB > > On 06/01/2020 09:24, Gerald Kallas wrote: > > Dear c

Re: JMS connection pooling configuration instance wide in Camel 3.0.0 (Karaf 4.2.7)

2020-01-06 Thread Gerald Kallas
> > You have to check if you have both JMS version in there. > > Regards > JB > > On 06/01/2020 13:12, Gerald Kallas wrote: > > Thanks, JB. > > > > I tried these commands .. > > > > karaf@root()> feature:repo-add hawtio 2.8.0 > > Addi

Re: Parsing JSON within the Camel Velocity component template?

2020-01-07 Thread Gerald Kallas
rieben: > > > Might want to read up on Velocity user guide, then > https://velocity.apache.org/engine/2.1/user-guide.html#property-lookup-rules > > On Tue, Jan 7, 2020 at 1:48 PM Gerald Kallas - mailbox.org > wrote: > > > > Tx for the reply. I tried this alre

Re: Parsing JSON within the Camel Velocity component template?

2020-01-07 Thread Gerald Kallas
tps://camel.apache.org/manual/latest/json.html as well as the > signature of DataFormatClause#json > > On Tue, Jan 7, 2020, 15:09 Gerald Kallas < catsh...@mailbox.org > mailto:catsh...@mailbox.org > wrote: > > > > > Tx, Mantas. > > &

Re: Parsing JSON within the Camel Velocity component template?

2020-01-07 Thread Gerald Kallas
help. Best - Gerald > Gerald Kallas < catsh...@mailbox.org mailto:catsh...@mailbox.org > hat am > 7. Januar 2020 um 19:56 geschrieben: > > > Thanks Mantas. > > I tried it out, my route is .. > > >

Life time of Exchange Properties while splitting a (JSON) message

2020-01-09 Thread Gerald Kallas
Dear community, I've following snippet $.consumer[*] ... ${in.body} As I made the experience the lifetime of an exchange property is limited to inside the split boundaries. Is there an other way (except a custom aggregation strategy) to define a context wide variable? Best - Gerald

Refactoring classes in Camel 3.0.0 - where to find classes for a custom aggregation strategy

2020-01-09 Thread Gerald Kallas
Dear community, I'm going to write a custom aggregation strategy with Camel 3.0.0 with imports like import org.apache.camel.Exchange; import org.apache.camel.processor.aggregate.AggregationStrategy; (worked for 2.15) As Camel 3.0.0 has been refactored, in which package can I find these 2 classe

Re: Life time of Exchange Properties while splitting a (JSON) message

2020-01-09 Thread Gerald Kallas
t - Gerald > Claus Ibsen hat am 9. Januar 2020 um 13:15 > geschrieben: > > > Hi > > You can use claim check EIP or use a custom aggregation strategy with > your splitter to tell Camel what data to merge as the result of the > splitter. > > On Thu, Jan 9, 2020 at

Re: Life time of Exchange Properties while splitting a (JSON) message

2020-01-10 Thread Gerald Kallas
l such as use-latest you can use. > > org.apache.camel.builder.AggregationStrategies#useLatest > > > On Thu, Jan 9, 2020 at 3:24 PM Gerald Kallas wrote: > > > > Hi Claus, tx for the response. > > > > I tried the claim check EIP like

Feature camel-activemq causes an runtime error starting the activemq-broker (twice)

2020-01-12 Thread Gerald Kallas
Dear community, I'm going to setup a vanilla karaf / activemq / camel3 installation with the following commands karaf@root()> feature:repo-add hawtio 2.8.0 Adding feature url mvn:io.hawt/hawtio-karaf/2.8.0/xml/features karaf@root()> feature:repo-add activemq 5.15.11 Adding feature url mvn:org.ap

Re: Feature camel-activemq causes an runtime error starting the activemq-broker (twice)

2020-01-12 Thread Gerald Kallas
er-noweb > feature:install camel-blueprint > feature:install camel-jms > feature:install jms > > I don't have any issue so far (activemq:bstat is fine with an unique > broker). > > Regards > JB > > On 12/01/2020 15:57, Gerald Kallas wrote: > > Dear comm

Re: Feature camel-activemq causes an runtime error starting the activemq-broker (twice)

2020-01-12 Thread Gerald Kallas
rsion (it should work > without change with JDK8). > > Do you use JAXB from JDK or from bundle ? > > Regards > JB > > On 12/01/2020 19:06, Gerald Kallas wrote: > > Tx JB. > > > > I did the same steps as you provided. Afterwards I created a

Re: Feature camel-activemq causes an runtime error starting the activemq-broker (twice)

2020-01-13 Thread Gerald Kallas
some details/helps, don't hesitate to ping me directly. > > Regards > JB > > On 13/01/2020 07:01, Gerald Kallas - mailbox.org wrote: > > Hi JB, > > > > tx for the comprehensive reply. > > > > Within the Camel documentation I read that the activemq

Simple condition doesn't always work with the 'contains' operator (Camel 3.0.0)

2020-01-14 Thread Gerald Kallas
Dear community, I've following Blueprint DSL snippet inside Camel 3.0.0 .. .. ${body.class()} contains 'GroupedExchangeList' .. The first log message is been written like .. body class: class org.apache.camel.processor.aggregate.AbstractListAggregationStrategy$GroupedExchangeList The s

Camel 3.0.0 unzip data

2020-01-15 Thread Gerald Kallas
Dear community, I'm trying to configure a Camel 3.0.0 Blueprint DSL route with an unzip processor. Here https://camel.apache.org/components/latest/zipdeflater-dataformat.html are examples contained based on Java DSL. I'm struggling with the right syntax for unzip inside a Blueprint DSL route.

Property placeholder causes an error

2020-01-28 Thread Gerald Kallas
Dear community, I'm using Camel 3.0.0 and have following snippet .. http://www.osgi.org/xmlns/blueprint/v1.0.0";> ... While deploying I'm getting the following error org.osgi.service.blueprint.container.ComponentDefinitionException: Name bridgePropertyPlaceholder is already instanciated as

Re: Property placeholder causes an error

2020-01-29 Thread Gerald Kallas
Thanks Claus. I tried the Property Placeholder as described here https://camel.apache.org/manual/latest/using-propertyplaceholder.html It works. Sent by my mobile device - Gerald Kallas > Claus Ibsen hat am 28. Januar 2020 22:45 geschrieben: > > > Hi > > You should NO

Disable karaf remote repositories for Karaf as Camel runtime

2020-02-02 Thread Gerald Kallas
Dear community, I did setup a docker container for Camel/Karaf based on a pre-configured runtime. Finally I want to instantiate the container on a system with no internet access. I'm getting a lot of maven connectivity errors at startup depite all features are installed and working. Ho can I

Installing camel-jsonpath fails with NoClassDefFound error

2020-02-02 Thread Gerald Kallas
Dear community, I'm going to install Camel 3.0.1 within the new Karaf 4.2.8. While executing feature:install camel-jsonpath I'm getting an error org.osgi.service.blueprint.container.ComponentDefinitionException: java.lang.NoClassDefFoundError: org/objectweb/asm/commons/AdviceAdapter several

SSL_ERROR_NO_CYPHER_OVERLAP with camel-jetty

2020-02-02 Thread Gerald Kallas
Dear community, I'm going to access some camel-jetty driven consumer endpoints and getting a SSL_ERROR_NO_CYPHER_OVERLAP error. The web console nevertheless is working well. Any hints are appreciated. That's the jetty.xml section https

Re: SSL_ERROR_NO_CYPHER_OVERLAP with camel-jetty

2020-02-03 Thread Gerald Kallas
e Onofré hat am 3. Februar 2020 05:57 > geschrieben: > > > Hi, > > do you have bouncycastle installed ? > > Regards > JB > > On 03/02/2020 00:29, Gerald Kallas wrote: > > Dear community, > > > > I'm going to

Re: SSL_ERROR_NO_CYPHER_OVERLAP with camel-jetty

2020-02-03 Thread Gerald Kallas
Seems that the fallback to TLSv1.2 isn't possible So, where is the place to enable TLSv1.2 for camel-jetty? Best - Gerald > Gerald Kallas hat am 3. Februar 2020 09:00 geschrieben: > > > Thanks JB, > > I did not install bouncycastle. > > I did install camel-jet

Re: SSL_ERROR_NO_CYPHER_OVERLAP with camel-jetty

2020-02-03 Thread Gerald Kallas
eProtocols value? Best - Gerald > Gerald Kallas hat am 3. Februar 2020 09:46 geschrieben: > > > Tested with cURL > > curl --insecure -v https://host:8443/say/hello > * Trying 10.0.0.147... > * TCP_NODELAY set > * Connected to host (10.0.0.147) port 8443 (#0) >

Re: SSL_ERROR_NO_CYPHER_OVERLAP with camel-jetty

2020-02-03 Thread Gerald Kallas
at am 3. Februar 2020 13:04 > geschrieben: > > > Hi, > > By default, camel-jetty create a new connector: it doesn't use the one > provided by pax-web. If you want to "plug" into the pax-web jetty > connector, you have to use camel-servlet. > > came

Re: SSL_ERROR_NO_CYPHER_OVERLAP with camel-jetty

2020-02-03 Thread Gerald Kallas
; Hi, > > By default, camel-jetty create a new connector: it doesn't use the one > provided by pax-web. If you want to "plug" into the pax-web jetty > connector, you have to use camel-servlet. > > camel-jetty fully creates a new jetty connector, so the TLS > con

Re: SSL_ERROR_NO_CYPHER_OVERLAP with camel-jetty

2020-02-03 Thread Gerald Kallas
{"text": "Hello World"} application/json {"text": "Bye World"}

REST API - Swagger file generation?

2020-02-03 Thread Gerald Kallas
Dear community, I've following REST API (see below). Is it possible to call the endpoint with a special URI to retrieve the Swagger file from the Blueprint defintion? Best - Gerald Configuration XML .. http://www.osgi.org/xmlns/blueprint/v1.0.0";>

REST API - Basic Authentication?

2020-02-03 Thread Gerald Kallas
Dear community, I've following REST API (see below). How can I add a Basic Authentication to the REST API in Blueprint DSL? Any hints are highly welcome. Best - Gerald Configuration XML .. http://www.osgi.org/xmlns/blueprint/v1.0.0";>

Re: Rép. : REST API - Swagger file generation?

2020-02-03 Thread Gerald Kallas
rection de l’assistance et des technologies > Direction des ressources informationnelles > > Société d’habitation du Québec > Édifice Marie-Guyart > 1054, rue Louis-Alexandre-Taschereau > Aile Jacques-Parizeau, 1er étage > Québec (Québec) G1R 5E7 > Téléphone : 418 643-4035,

Camel Servlet based REST API - Basic Authentication?

2020-02-04 Thread Gerald Kallas
Dear community, with some help from your folks here I've created a Camel Servlet based REST API (see below). The next step will be to add HTTP Basic Authentication (filter) to protect the Servlet Endpoint (API). I did a lot of research but wasn't able to find anything that helps. So my questi

camel-jetty based REST API - Jetty configuration

2020-02-04 Thread Gerald Kallas
Dear community, I'm going to create a REST API with camel-jetty. I wonder where I could find a proper example to configure the camel-jetty endpoint with alls the basic stuff (HTTPS port etc.) and especially 1. TLS protocols included/excluded 2. Cipher Suites included/excluded 3. Basic Authentic

Recommendation for a HTTP(S) Consumer Component in Camel 3

2020-02-08 Thread Gerald Kallas
Dear community, I want to configure HTTP(S) consumers with following requirements 1. TLS/SSL support (central configuration possible) 2. Multiple endpoints on same port in different Camel Contexts 3. Basic Auth configurable 4. Further Auth options (optional) It should be easily to be configured.

Global Jetty SSL configuration (as described in documenation) causes an error

2020-02-08 Thread Gerald Kallas
Dear community, I tried to configure the Jetty global configuration for camel-jetty as described here https://camel.apache.org/components/latest/jetty-component.html (Section Configuring general SSL properties) with following Blueprint DSL http://www.osgi.org/xmlns/blueprint/v1.0.0"; x

Re: Global Jetty SSL configuration (as described in documenation) causes an error

2020-02-08 Thread Gerald Kallas
Using org.apache.camel.component.jetty.JettyHttpComponent9 doesn't help either, getting a org.apache.camel.component.jetty.JettyHttpComponent9 not found by org.apache.camel.camel-jetty-common Best - Gerald > Gerald Kallas hat am 8. Februar 2020 17:02 geschrieben: > > &g

camel-jetty HTTPS consumer still fails with handshake failure - possible bug?

2020-02-09 Thread Gerald Kallas
Hi everybody, after several research I did create the following Blueprint DSL route that still fails with a TLS handshake failure. http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.osgi.org/xmlns/blu

Re: camel-jetty HTTPS consumer still fails with handshake failure - possible bug?

2020-02-12 Thread Gerald Kallas
ns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0";> http://camel.apache.org/schema/blueprint";> https://0.0.0.0:8444/hello?sslContextParameters=#sslContextParameters"; />

Camel 3.0.1 - DefaultProducerTemplate seems to be a different class?

2020-02-21 Thread Gerald Kallas
Dear community, I've created a processor for Camel 2 that works fine. See the Java Code Snippet ... import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.ProducerTemplate; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; p

Re: Camel 3.0.1 - DefaultProducerTemplate seems to be a different class?

2020-02-22 Thread Gerald Kallas
My fault. The endpoint defaultEndpoint="activemq:NAMES" didn't exist (activemq). > Gerald Kallas hat am 21. Februar 2020 12:31 > geschrieben: > > > Dear community, > > I've created a processor for Camel 2 that works fine. See t

Camel 3.0.1 camel-groovy feature install fails

2020-02-25 Thread Gerald Kallas
I've tried to install the camel-groovy feature but after installing all other stuff that one fails karaf@root()> feature:install camel-groovy Error executing command: Error: Error downloading mvn:org.codehaus.groovy/groovy/2.5.8 Error downloading mvn:org.apache.camel/camel-groovy/

Re: Camel 3.0.1 camel-groovy feature install fails

2020-02-25 Thread Gerald Kallas
Found the reason. org.ops4j.pax.url.mvn.cfg This one org.ops4j.pax.url.mvn.repositories= \ http://repo1.maven.org/maven2@id=central, \ ... must be changed to org.ops4j.pax.url.mvn.repositories= \ https://repo1.maven.org/maven2@id=central, \ ... > Gerald Kallas hat am

Install of camel-jackson on Karaf 4.2.7 w/ Camel 3.1.0 causes an error (same worked with Karaf 4.2.7 w/ Camel 3.0.1)

2020-02-28 Thread Gerald Kallas
I tried to upgrade from Karaf 4.2.7 w/ Camel 3.0.1 towards Karaf 4.2.7 w/ Camel 3.1.0. While executing these commands karaf@root()> feature:repo-add hawtio 2.9.1 Adding feature url mvn:io.hawt/hawtio-karaf/2.9.1/xml/features karaf@root()> feature:repo-add activemq 5.15.11 Adding feature url mvn

Re: Install of camel-jackson on Karaf 4.2.7 w/ Camel 3.1.0 causes an error (same worked with Karaf 4.2.7 w/ Camel 3.0.1)

2020-02-28 Thread Gerald Kallas
. > > Regards > JB > > > Le 28 févr. 2020 à 16:40, Gerald Kallas a écrit : > > > > I tried to upgrade from Karaf 4.2.7 w/ Camel 3.0.1 towards Karaf 4.2.7 w/ > > Camel 3.1.0. > > > > While executing these commands > > > > > > kar

Re: Install of camel-jackson on Karaf 4.2.7 w/ Camel 3.1.0 causes an error (same worked with Karaf 4.2.7 w/ Camel 3.0.1)

2020-02-28 Thread Gerald Kallas
Done. https://issues.apache.org/jira/projects/CAMEL/issues/CAMEL-14629 > Andrea Cosentino hat am 28. Februar 2020 17:19 > geschrieben: > > > Can you please report this on the Camel JIRA? > > Just reproduced. > > Il giorno ven 28 feb 2020 alle ore 17:15

Unmarshal ZIP w/ error handling in Camel 3.x

2020-03-10 Thread Gerald Kallas
Dear community, I've following route http://www.osgi.org/xmlns/blueprint/v1.0.0";> http://camel.apache.org/schema/blueprint";> When I'm sending

Directory {karaf.home}/data/tmp/camel increases over time

2020-03-11 Thread Gerald Kallas
Dear community, the directory {karaf.home}/data/tmp/camel increases over time. Where is this directory for and how can be avoided the constant increase of data in there? Best - Gerald

Read message body line by line with Camel Groovy in stream mode

2020-04-02 Thread Gerald Kallas
Dear community, we want to read with an embedded Groovy script the first line of a (large) file, but in streaming mode. Means that we don't want to process the whole file but only pick up the first line and stop. Any hints are really appreciated. Thanks - Gerald

Camel 3.0.1 Jetty HTTP Basic Authentication - configuration in a route following the doc doesn't work

2020-04-04 Thread Gerald Kallas
Dear community, I've configured a route as following snippet (following the documentation https://camel.apache.org/components/latest/jetty-component.html) http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http:

Re: Camel 3.0.1 Jetty HTTP Basic Authentication - configuration in a route following the doc doesn't work

2020-04-05 Thread Gerald Kallas
etty feature uses the jetty version provided by pax-web/karaf, so the > documentation is not maybe correct for 9.4.22/27. > > Regards > JB > > > Le 4 avr. 2020 à 10:08, Gerald Kallas a écrit : > > > > Dear community, > > > > I've configured a

Re: Camel 3.0.1 Jetty HTTP Basic Authentication - configuration in a route following the doc doesn't work

2020-04-05 Thread Gerald Kallas
provided by pax-web/karaf, so the > documentation is not maybe correct for 9.4.22/27. > > Regards > JB > > > Le 4 avr. 2020 à 10:08, Gerald Kallas a écrit : > > > > Dear community, > > > > I've configured a route as following snippet (following the

Camel 3.x Message Filter by JSONPath expression?

2020-04-06 Thread Gerald Kallas
Dear community, is it possible to filter a message by JSONPath als the following snippet? $.names Many thanks in advance - Gerald

Re: Camel 3.x Message Filter by JSONPath expression?

2020-04-06 Thread Gerald Kallas
Found it .. ... $.surnames > Gerald Kallas hat a

camel-salesforce

2020-04-20 Thread Gerald Kallas
Dear community, while connecting to a salesforce instance I'm getting an error java.lang.RuntimeException: org.apache.camel.component.salesforce.api.SalesforceException: Unexpected login error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to fin

Re: camel-salesforce

2020-04-21 Thread Gerald Kallas
ries to pick up the cacerts file in your jre folder. > > Cheers > Reji > > On Mon, Apr 20, 2020 at 7:38 PM Gerald Kallas wrote: > > > Dear community, > > > > while connecting to a salesforce instance I'm getting an error > > > > java.

Reference to a (SalesforceComponent) bean in another Blueprint DSL file

2020-04-21 Thread Gerald Kallas
Dear community, is it possible to split the following Blueprint DSL in 2 ones http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

org.apache.camel.processor.RedeliveryPolicy not found by org.apache.camel.camel-base

2020-04-21 Thread Gerald Kallas
I'm working with Camel 3.0.1. When defining as documented I'm getting an error org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to load class org.apache.camel.proce

DeadLetterChannelBuilder in combination w/ doTry/doCatch

2020-04-22 Thread Gerald Kallas
Hi all, I've following route. The doCatch should do some specific stuff in case of an error, followed by a general execption thrown for hitting the error handler. I'd expect that in case of an error the message would be sent to the DLQ but this doesn't happen. What I'm doing wrong here? Tx for

Re: DeadLetterChannelBuilder in combination w/ doTry/doCatch

2020-04-22 Thread Gerald Kallas
Hi Claus, tx for the reply. I already thought about direct send to the DLQ. When I'm going to use a file consumer with a failure directory configured eg http://www.osgi.org/xmlns/blueprint/v1.0.0"; > > > > xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"; > >

camel-salesforce - Subscription fails with a org.cometd.common.TransportException: {httpCode=500}

2020-04-23 Thread Gerald Kallas
Hi all, I've following route http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 https:

Error response from SalesforceHttpClient cutted - possible to extend?

2020-04-23 Thread Gerald Kallas
Hi all, I've enabled the DEBUG mode for an error investigation of the camel-salesforce component. The error finally is shown in the log as 2020-04-23T09:42:11,711 | DEBUG | SalesforceHttpClient@4e186e77-171 | HttpReceiver | 223 - org.eclipse.jetty.util - 9.4.20.v20190813 |

HTTP producer NTLM auth behavior seems to depend on consumer

2020-04-23 Thread Gerald Kallas
Hi all, I've a route that calls an endpoint with NTLM auth. It works pretty when calling the route on a HTTP consumer. http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint

camel-jetty consumers w/ different security handlers on different paths and same port

2020-05-01 Thread Gerald Kallas
Dear community, I'd like to share some experience I made with camel-jetty basic authentication. The use case is to have - multiple camel contexts w/ a camel route each - a camel-jetty consumer in each route listening on same port but on a different path - a straightforward securityHandler confi

Blueprint service reference to org.eclipse.jetty.security.ConstraintSecurityHandler ?

2020-05-01 Thread Gerald Kallas
Dear community, I'm using in one Blueprint DSL file

camel-servlet configuration of port, ssl, basic auth?

2020-05-03 Thread Gerald Kallas
Dear community, as camel-jetty underpinning securityHandler seems to lack of re-usability (https://issues.apache.org/jira/browse/KARAF-6700,https://issues.apache.org/jira/browse/CAMEL-15000) I'm going to setup a http consumer based on camel-servlet following https://camel.apache.org/components/

Availability of camel-netty-http in Camel 3.x?

2020-05-06 Thread Gerald Kallas
Hi all, I was reading in the migration documentation "We have removed all deprecated components from Camel 2.x, including the old camel-http, camel-hdfs, camel-mina, camel-mongodb, camel-netty, camel-netty-http, camel-quartz, camel-restlet and camel-rx components." Does that mean that camel-ne

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-14 Thread Gerald Kallas
. > > The only difference I see is that in my case I am not using the > ‘httpRegistry'; try removing that part. > > > Best regards, > Alex soto > > > > > > > On May 14, 2020, at 12:21 PM, Gerald Kallas wrote: > > Thanks Alex. > > >

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-15 Thread Gerald Kallas
org/manual/latest/#_security_2 > <https://karaf.apache.org/manual/latest/#_security_2> > > > The 'security.constraint.1.* entries' in your file > 'org.ops4j.pax.web.context-admin.cfg’ define the permissions for each route, > just need to add new ones replaci

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-15 Thread Gerald Kallas
t; Also, what is in your 'etc/jetty.xml’ and ‘etc/org.ops4j.pax.web.cfg’ files ? > > > Best regards, > Alex soto > > > > > > > On May 15, 2020, at 11:22 AM, Gerald Kallas wrote: > > Hi Alex, > > > > yes, I'm passing the HTTP &quo

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-18 Thread Gerald Kallas
teboard/src/main/java/com/packt/internal/Activator.java > > > > regards, Achim > > > > > > Am Fr., 15. Mai 2020 um 21:06 Uhr schrieb Alex Soto : > > > > > I’m sorry, I don’t know why it's not working; it looks correct to me. > > > M

Fwd: Re: Basic authentication of WAB using Jaas in Karaf

2020-05-18 Thread Gerald Kallas
And .. is there a way in the servlet approach with Jetty to have multiple properties files for users and roles (eg 1 per servlet)? -- Ursprüngliche Nachricht -- Von: Gerald Kallas An: Grzegorz Grzybek , users@camel.apache.org Datum: 18. Mai 2020 23:39 Betreff: Re: Basic

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-19 Thread Gerald Kallas
le of Jira to deal with that easily: > > https://issues.apache.org/jira/browse/KARAF-6632 > > I will focus on web improvements for 4.2.10 and 4.3.0.RC2. > > Regards > JB > > > > > Le 18 mai 2020 à 23:39, Gerald Kallas a écrit : > > Hi Grzegorz, > > > >

add/remove JAAS users and roles within a Camel route?

2020-05-20 Thread Gerald Kallas
Hi all, is it possible to add/remove users and roles inside a Camel route (Blueprint DSL) or at least w/ a piece of Java code inside a bean? Thanks in advance for any hints - Gerald

Re: add/remove JAAS users and roles within a Camel route?

2020-05-20 Thread Gerald Kallas
t; JAAS doesn’t provide anything about that. That’s why in Karaf we have the > "backend" service attached to some login modules. > In your Camel route, you can interact with these services (as the jaas:* > commands do in Karaf). > > Regards > JB > >

OSGi CLI commands in a Camel route

2020-05-22 Thread Gerald Kallas
Hi all, is there a way to execute OSGi CLI commands directly from a Camel route? Best - Gerald

Camel-exec issue (script works but returns 1 inside a route)

2020-05-22 Thread Gerald Kallas
Hi all, I've the following script (inside the container) -rwxr-xr-x 1 casisp casisp 103 May 22 22:58 user-add /opt/apache-karaf/bin/client "jaas:realm-manage --index 1; jaas:user-add user1 password1; jaas:update" When I'm calling it from the command line directly it works. Inside a route (see

Karaf 4.2.9 w/ Camel 3.4.0 - ActiveMQ isn't starting

2020-06-24 Thread Gerald Kallas
Dear all, I've setup an (finally offline) instance w/ Karaf 4.2.9 and Camel 3.4.0. The ActiveMQ instance doesn't start, I'm getting an error as below. The problem still persist (I did experience this one earlier). Should I create a JIRA ticket for? Best - Gerald 2020-06-24T09:21:18,140 | ERRO

camel-velocity warnings in Camel 3.4.0

2020-06-24 Thread Gerald Kallas
Dear all, while executing camel-velocity templates I'm getting deprecation | 207 - org.apache.velocity.engine-core - 2.1.0 | configuration key 'class.resource.loader.class' has been deprecated in favor of 'resource.loader.class.class' deprecation | 207 - org.apache.velocity.engine-core - 2.1.0

camel-kafka connection issue

2020-06-27 Thread Gerald Kallas
Dear all, I've setup Camel 3.4.0 and want to consume from a Kafka topic. My route looks like http://www.osgi.org/xmlns/blueprint/v1.0.0";> http://camel.apache.org/schema/blueprint"; streamCache="true">

Re: Basic authentication of WAB using Jaas in Karaf - the trick doesn't work any longer w/ Karaf 4.2.9 and Camel 3.4.0

2020-06-28 Thread Gerald Kallas
dyear/ApacheKarafCookbook/blob/master/chapter4/chapter4-recipe4/chapter4-recipe4-whiteboard/src/main/java/com/packt/internal/Activator.java > > > > regards, Achim > > > > > > Am Fr., 15. Mai 2020 um 21:06 Uhr schrieb Alex Soto > >: > > > > > I’m sorr

Re: Basic authentication of WAB using Jaas in Karaf - the trick doesn't work any longer w/ Karaf 4.2.9 and Camel 3.4.0

2020-06-28 Thread Gerald Kallas
I tested the combination Karaf 4.2.8 and Camel 3.3.0, with this the workaround works as expected. Seems that Jetty has been updated in Karaf 4.2.9? (The combination Karaf 4.2.8 and Camel 3.4.0 doesn't work due to other issues.) > Gerald Kallas hat am 28.06.2020 18:12 geschrieben: >

Re: camel-kafka connection issue

2020-06-28 Thread Gerald Kallas
org.apache.avro.*). Maybe Avro optional > import is required in your case (even if Kafka-clients doesn’t define the > dependency explicitly). > > Regards > JB > > > Le 27 juin 2020 à 09:45, Gerald Kallas a écrit : > > > > Dear all, > > > > I&#

Re: Basic authentication of WAB using Jaas in Karaf - the trick doesn't work any longer w/ Karaf 4.2.9 and Camel 3.4.0

2020-06-28 Thread Gerald Kallas
.@nanthrax.net>> ha scritto: > > Hi, > > > > Yes Karaf 4.2.9 upgraded to Pax Web 7.2.15 and Jetty 9.4.28.v20200408. > > > > Can you please send a private message about issues you have with Karaf > > 4.2.9 and Camel 3.4.0 (as I’m working on camel karaf fo

Set specific offset for a camel-kafka consumer?

2020-06-30 Thread Gerald Kallas
Hi all, is there a way to set a specific offset when starting a camel-kafka consumer? Thanks in advance - Gerald

RE: Set specific offset for a camel-kafka consumer?

2020-07-01 Thread Gerald Kallas
Thanks Vikas. Is there a way to specify a dedicated offset timestamp? Best - Gerald > Vikas Jaiswal hat am 01.07.2020 03:06 geschrieben: > > > seekTo allows you to specify 'beginning' or 'end'. > > Regards, > Vikas > > -Original M

camel-undertow in Camel > 3.2

2020-08-04 Thread Gerald Kallas
Hi folks, I was trying to setup a Blueprint route with undertow. In the documentation I saw "The following components is no longer supported in OSGi and has been removed from the Camel Karaf features file: camel-undertow, ... ." Does that finally mean that undertow could no longer be used in C

Re: camel-undertow in Camel > 3.2

2020-08-04 Thread Gerald Kallas
; > > Hello, > > Yes. The reason is here: https://issues.apache.org/jira/browse/CAMEL-14939 > > From 2.1.0 they won't support OSGi anymore and more and more third party > libraries are doing the same thing. > > Il giorno mar 4 ago 2020 alle ore 12:04 Gerald Kallas

  1   2   >