RE: How will Camel filter headers in message body read from IBM MQ and process the transaction.

2024-01-16 Thread Mattern, Alex
Srikant Mantha, Here is an example of filtering on a jms topic: https://camel.apache.org/components/4.0.x/jms-component.html#_receiving_from_jms -Original Message- From: Ivan Kulaga Sent: Sunday, January 14, 2024 10:29 PM To: users@camel.apache.org Subject: [EXTERNAL SENDER:] Re: How

RE: Jetty and the Invalid SNI

2023-09-21 Thread Mattern, Alex
Fyodor, Assuming all testers have the same or a small number of for their localhost, you can create one keystore for testing and have it packaged with the tests. -- Alex Alex Mattern | AVP | Infomediary Architect | Investor Services BROWN BROTHERS HARRIMAN 50 Post Office Square, Boston, MA

RE: Jetty and the Invalid SNI

2023-09-21 Thread Mattern, Alex
to accept the localhost. Change the CN to *..com. Change the SAN to www..com. If you have multiple then you will make multiple entries in the keystore. -- Alex -Original Message- From: Fyodor Kravchenko Sent: Thursday, September 21, 2023 9:35 AM To: users@camel.apache.org Subject: [EXTERNAL

Re: Threading question

2023-09-04 Thread Alex O'Ree
4, 2023 at 2:16 AM ski n wrote: > The starting doc is the following: > > https://camel.apache.org/manual/threading-model.html > > If you still some questions or missing some stuff you can ask them here of > course. > > Raymond > > On Sun, Sep 3, 2023 at 8:42 PM

Threading question

2023-09-03 Thread Alex O'Ree
Under the hood, does camel allocate thread pools specific to each route or is it more of a per processor/connector setup or is it one big shared thread pool for the whole application? Is there anywhere i can find discussions on this topic or documentation that describes the general thread model

Re: DSL to processors code

2023-07-28 Thread Alex O'Ree
Thanks ill dig into it On Fri, Jul 28, 2023, 10:54 AM Claus Ibsen wrote: > I dont have time to write a long response, but a hint is > > model -> reifier -> processor > > On Fri, Jul 28, 2023 at 4:48 PM Alex O'Ree wrote: > > > Can someone point me to t

DSL to processors code

2023-07-28 Thread Alex O'Ree
Can someone point me to the code that apache camel uses to instantiate and configure camel processors? I'm trying to learn how connectors and processors get configured from the DSL and the magic behind this. I suspect it's related to the configurator classes but i'm not entirely sure. Thanks!

RE: Poll enrich with mail component will lose attachments

2022-09-06 Thread Mattern, Alex
3.7.2 Alex Mattern -Original Message- From: Mi Jane 米静 Sent: Tuesday, September 6, 2022 1:28 AM To: users@camel.apache.org Subject: [EXTERNAL SENDER:] RE: Poll enrich with mail component will lose attachments Hi Claus, I tested Camel 3.18.0 with Quarkus 2.11.0. The result is the same: I

RE: Timer ensure that the route only runs once at a time

2022-08-08 Thread Mattern, Alex
time of the previous execution. Fixed-delay execution is appropriate for recurring activities that require "smoothness." Alex Mattern | AVP | Infomediary Architect | Investor Services BROWN BROTHERS HARRIMAN 50 Post Office Square, Boston, MA 02110 T 617-772-0096 | M 857-283-3724 |

RE: Upgrade to Apache Camel 3 - no longer get logging / stacktrace

2022-08-02 Thread Mattern, Alex
Doug Snaith, Message History is disabled by default in Camel 3. Override the default on your camelcontext or route. https://camel.apache.org/components/3.14.x/eips/message-history.html Alex Mattern | AVP | Infomediary Architect | Investor Services [cid:image001.gif@01D8A665.13516A00]BROWN

RE: How to make a bean thread safe?

2021-11-10 Thread Mattern, Alex
into memory at once. When you need millisecond performance this is a good option. Alex Mattern From: Siano, Stephan Sent: Tuesday, November 9, 2021 12:41 AM To: users@camel.apache.org Subject: [EXTERNAL SENDER:] RE: How to make a bean thread safe? Hi I don’t think that this issue is related

RE: Apache Camel single transaction with oracle aq and row inserts

2021-10-15 Thread Mattern, Alex
TransactionManager is required since this is not a distributed transaction. This should be a single transaction on a single resource, namely Oracle DB. -- Alex Mattern -Original Message- From: Zheng Feng Sent: Friday, October 15, 2021 11:38 AM To: alex.matt...@bbh.com.invalid Cc: users

RE: camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-15 Thread Mattern, Alex
Any advice on how to reduce CPU usage on the JMS servers would be appreciated. Alex Mattern | AVP | Infomediary Architect | Investor Services BROWN BROTHERS HARRIMAN 50 Post Office Square, Boston, MA 02110 T 617-772-0096 | M 857-283-3724 | alex.matt...@bbh.com www.bbh.com -Original Message

RE: Apache Camel single transaction with oracle aq and row inserts

2021-10-15 Thread Mattern, Alex
Any advice on having one Oracle connection reused for both insert and jms within the same transaction? We have been attempting find the solution to this problem since camel version 2.4. Alex Mattern | AVP | Infomediary Architect | Investor Services BROWN BROTHERS HARRIMAN 50 Post Office

RE: camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-07 Thread Mattern, Alex
. The receiveTimeout setting seems to create side-effect of long shutdown times with Oracle AQ. What are some recommended ways to reduced CPU usage on the queue server? I believe that jms consumer dynamic scaling is available using transactions only with ActiveMQ and no other queue managers. -- Alex

camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-07 Thread Mattern, Alex
with IBM MQ does not cause a delayed shutdown. I would like to >use the receiveTimeout to prevent overuse of the Oracle server cpu. I would >also like to shutdown my application in a short period of time. -- Alex Mattern *** IMPORTANT NOTE* The opinion

Apache Camel single transaction with oracle aq and row inserts

2021-09-29 Thread Mattern, Alex
have also posted this question to stackoverflow. https://stackoverflow.com/questions/67493188/apache-camel-single-transaction-with-oracle-aq-and-row-inserts -- Alex Mattern *** IMPORTANT NOTE* The opinions expressed in this message and/or any attach

Re: Filters option not available in Netty-http Component

2020-12-08 Thread Alex Luo
Yes sounds like it’s Jetty specific option. Thanks Alex Luo > On Dec 8, 2020, at 10:03 AM, Claus Ibsen wrote: > > Hi > > Okay so the jetty filter would then silently just drop incoming > requests if your custom filter would return false? > Its a custom jetty feature and

Re: Filters option not available in Netty-http Component

2020-12-08 Thread Alex Luo
used to use Jetty Component to do this job. and we would like to switch to use Netty-http component for high performance. However netty-http doesn't have the Filters option. Thanks. Alex On Tue, Dec 8, 2020 at 1:14 AM Claus Ibsen wrote: > Hi > > What do you want to do, eg what do

Re: How to choose a camel component for Http Endpoint Producer and / or Consumer

2020-12-07 Thread Alex Luo
Thanks JB. I got it. Alex On Mon, Dec 7, 2020 at 1:40 AM Jean-Baptiste Onofre wrote: > Hi, > > It depends of the features you need and the dependencies. > > For instance, Camel Jetty is "large" but provide a good set of features > (it’s used internally i

Re: How to choose a camel component for Http Endpoint Producer and / or Consumer

2020-12-07 Thread Alex Luo
Thanks Claus. I got it. Alex On Mon, Dec 7, 2020 at 1:46 AM Claus Ibsen wrote: > On Mon, Dec 7, 2020 at 7:40 AM Jean-Baptiste Onofre > wrote: > > > > Hi, > > > > It depends of the features you need and the dependencies. > > > > For instance, Cam

Filters option not available in Netty-http Component

2020-12-07 Thread Alex Luo
We are trying to use netty-http component for exposing REST Http endpoint. But we find out netty-http doesn't have filters (Consumer) opton. It is available in Jetty component. What is the alternative of filters option in netty-http? Thanks. -- Sincerely, Alex

How to choose a camel component for Http Endpoint Producer and / or Consumer

2020-12-04 Thread Alex Luo
? Camel-Http, Camel-Http4, Camel-Jetty, Camel-Netty-htttp, Camel-undertow. Thanks so much for advise. -- Sincerely, Alex Luo

How to choose a camel component for Http Endpoint Producer and / or Consumer

2020-12-04 Thread Alex Luo
performance? Camel-Http, Camel-Http4, Camel-Jetty, Camel-Netty-htttp, Camel-undertow. Thanks so much for your advice. -- Sincerely, Alex

Re: Saga EIP // copying data from the point of failure into compensation flow

2020-09-10 Thread Alex Dettinger
> way I can get exchange object which failed inside the saga scope? > > Cheers > Reji > > On Tue, Sep 8, 2020 at 4:38 PM Alex Dettinger > wrote: > > > Hi Reji, > > > > I've never tested but it remind me about option: > > > > >

Re: Saga EIP // copying data from the point of failure into compensation flow

2020-09-08 Thread Alex Dettinger
Hi Reji, I've never tested but it remind me about option: https://camel.apache.org/components/latest/eips/saga-eip.html#_using_custom_identifiers_and_options hth, Alex On Tue, Sep 8, 2020 at 9:48 PM Reji Mathews wrote: > Hello community > > I was wondering if there is a way

Re: Camel 3.4.3 REST DSL - valid JSON response?

2020-08-20 Thread Alex Soto
Your binding mode is JSON. bindingMode=“json" You are supposed to return an object, but you are returning a JSON string. Add bindingMode=“off” to this rest service. Best regards, Alex soto > On Aug 20, 2020, at 12:20 PM, Gerald Kallas wrote: > > bindingMode="json"

Re: MethodNotFoundException upgrading to Camel 3.4.2 (Blueprint and Karaf)

2020-08-20 Thread Alex Soto
Done: https://issues.apache.org/jira/browse/CAMEL-15435 <https://issues.apache.org/jira/browse/CAMEL-15435> Best regards, Alex soto > On Aug 20, 2020, at 1:08 AM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > Not yet, I will get back on this one asap. > Did

Re: Rép. : Camel REST DSL with servlet - API URL?

2020-08-19 Thread Alex Soto
I am not sure you can do that but can try. Also, I don’t understand why you would want to share a servlet across bundles. Best regards, Alex soto > On Aug 19, 2020, at 12:02 PM, Gerald Kallas wrote: > > Thanks Alex. > > That seems to be a problem as I'll have every Blueprin

Re: How to configure shutdown timeout

2020-08-19 Thread Alex Soto
Thanks Alex, Also looking for a way to configure this in a Blueprint XML file. Best regards, Alex soto > On Aug 18, 2020, at 11:13 AM, Alex Dettinger wrote: > > Hi Alex, > > It seems the timeout is tuned after the context creation. One may achieve > the desired

Re: Rép. : Camel REST DSL with servlet - API URL?

2020-08-19 Thread Alex Soto
Again, all files need to be in the same bundle. Best regards, Alex soto > On Aug 19, 2020, at 7:59 AM, Gerald Kallas wrote: > > Thanks Daniel. > > Not sure if I did explain right. > > I want to define > >interface="

Re: MethodNotFoundException upgrading to Camel 3.4.2 (Blueprint and Karaf)

2020-08-19 Thread Alex Soto
Any update on this, JB? Best regards, Alex soto > On Aug 15, 2020, at 4:06 AM, Jean-Baptiste Onofre wrote: > > Hi, > > It seems to be related to a change on the camel-bean processor. > > Let me reproduce it and make a bisect to identify the change. > > Thanks !

Re: Rép. : Camel REST DSL with servlet - API URL?

2020-08-18 Thread Alex Soto
I think you are missing: 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; > >

Re: How to configure shutdown timeout

2020-08-18 Thread Alex Dettinger
Hi Alex, It seems the timeout is tuned after the context creation. One may achieve the desired result with either: @Override protected void doPostSetup() throws Exception { context.getShutdownStrategy().setTimeout(60); } OR MAYBE @Override protected int getShutdowntimeout() { return 60

How to configure shutdown timeout

2020-08-18 Thread Alex Soto
regards, Alex soto

Re: MethodNotFoundException upgrading to Camel 3.4.2 (Blueprint and Karaf)

2020-08-17 Thread Alex Soto
Thank you, JB, I hope it is an easy fix. Best regards, Alex soto > On Aug 15, 2020, at 4:06 AM, Jean-Baptiste Onofre wrote: > > Hi, > > It seems to be related to a change on the camel-bean processor. > > Let me reproduce it and make a bisect to identify th

MethodNotFoundException upgrading to Camel 3.4.2 (Blueprint and Karaf)

2020-08-14 Thread Alex Soto
a:511) ~[?:?] at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:391) ~[?:?] ... 22 more Any ideas? Best regards, Alex soto

Re: Rest registry has no services

2020-07-22 Thread Alex Soto
: exchange.getContext().getRestConfiguration().getContextPath(); And the registry sometimes has data: exchange.getContext().getRestRegistry() But sometimes it doesn’t, all during in the same execution session. Best regards, Alex soto > On Jul 22, 2020, at 2:13 AM, Jean-Bapti

Re: DefaultTracer traceBeforeRoute not calling dumpTrace

2020-07-21 Thread Alex Soto
PR here: https://github.com/apache/camel/pull/4027 <https://github.com/apache/camel/pull/4027> Best regards, Alex soto > On Jul 21, 2020, at 9:57 AM, Alex Soto wrote: > > Thanks Claus, will create a PR > > Best regards, > Alex soto > > > > >>

Rest registry has no services

2020-07-21 Thread Alex Soto
ing? Thanks and best regards, Alex soto

Re: DefaultTracer traceBeforeRoute not calling dumpTrace

2020-07-21 Thread Alex Soto
Thanks Claus, will create a PR Best regards, Alex soto > On Jul 19, 2020, at 3:53 AM, Claus Ibsen wrote: > > Hi > > Created a JIRA to not forget > https://issues.apache.org/jira/browse/CAMEL-15311 > > On Fri, Jul 17, 2020 at 10:40 AM Claus Ibsen wrot

Re: org.apache.karaf.specs.locator not found

2020-07-13 Thread Alex Soto
I am sorry I posted this to the wrong mailing list. Best regards, Alex soto > On Jul 13, 2020, at 12:22 PM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > I don’t see this error on Jenkins, so I guess this error is in your itest. > > Can you share a simple

Re: org.apache.karaf.specs.locator not found

2020-07-13 Thread Alex Soto
the OsgiLocator package. Best regards, Alex soto > On Jul 13, 2020, at 12:11 PM, Alex Soto wrote: > > With Karaf 4.2.9 and Pax-Exam 4.13.3, and openjdk version "11.0.7" > 2020-04-14, running integration tests produces warning: > > WARNING: package or

org.apache.karaf.specs.locator not found

2020-07-13 Thread Alex Soto
Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] Any idea? Best regards, Alex soto

DefaultTracer traceBeforeRoute not calling dumpTrace

2020-07-10 Thread Alex Soto
is not calling it, instead logging directly with INFO level. Best regards, Alex soto

Re: [HEADS UP] - Java 8 to be dropped

2020-06-26 Thread Alex Dettinger
Thanks for sharing Claus :) Is the support ending at june 2021 ? Or maybe I miss something ? On Fri, Jun 26, 2020 at 10:23 AM Claus Ibsen wrote: > Hi > > Just a heads up that from Camel 3.5 onwards we will drop Java 8 support. > > So this means that minimum Java version is now Java 11. > We are

Re: How to properly handle Camel files endpoint in jUnit test

2020-06-24 Thread Alex Dettinger
Hi Jessy, In such a case, I would rather do something inspired from one of the camel file test: https://github.com/apache/camel/tree/master/core/camel-core/src/test/java/org/apache/camel/component/file hth, Alex On Wed, Jun 24, 2020 at 3:00 PM Jessy Chenavas wrote: > Hello, > >

Re: Unable to XPath, as bean or as split with complex XML

2020-06-18 Thread Alex Dettinger
/XPathTest.java#L241 hth, Alex On Thu, Jun 18, 2020 at 9:36 AM Mikael Andersson Wigander < mikael.grevs...@gmail.com> wrote: > Hi > > My problem is that I can’t extract some XML using xpath in Camel 3.3.0 > > My incoming XML is complicated where my target tag also has a > t

Re: simple language bodyOneLine throws error

2020-06-16 Thread Alex Dettinger
Hi Shiva, bodyOneLine was introduced since camel 3 onward, https://issues.apache.org/jira/browse/CAMEL-13674. Maybe it's time to get a ride at camel 3 https://camel.apache.org/manual/latest/camel-3-migration-guide.html ;) Alex On Tue, Jun 16, 2020 at 9:57 AM Gv, Shivakumar wrote: > Hi t

Re: GsonDataFormat "useList" option?

2020-06-02 Thread Alex Dettinger
Hi Jeremy, It reminds me something, could you please try something like below: https://github.com/apache/camel-quarkus/blob/master/integration-tests/dataformats-json/src/main/java/org/apache/camel/quarkus/component/dataformats/json/JsonDataformatsRoute.java#L58..L61 hth, Alex On Tue, Jun 2

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

2020-05-28 Thread Alex Soto
Also, take a look at org.apache.karaf.itests.KarafTestSupport.executeCommand from org.apache.karaf.itests common Best regards, Alex soto > On May 28, 2020, at 9:50 AM, Alex Soto wrote: > > Hi Gerald, > > There is no "/opt/apache-karaf/bin/user-add”

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

2020-05-28 Thread Alex Soto
know which service deals with the JAAS subsystem, but I suspect there is one, in which case, you can reference the service, as in: Then call “myService” as a bean: And avoid interacting with the shell. I hope this helps. Best regards, Alex soto > On May 23, 2020, at

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

2020-05-21 Thread Alex Soto
table, LDAP server, etc. Best regards, Alex soto > On May 20, 2020, at 3:48 PM, Gerald Kallas wrote: > > Tx JB. > > So in this case, how can i call the jaas:* service from a Camel route? I did > some research but wasn't able to find this .. > > Regards > -

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-18 Thread Alex Soto
Thank you, Grzegorz, this is excellent news! I'm looking forward for this to be improved in version 8, as it is very useful, and not only for Keycloak. In particular, for securing Camel Rest services, and perhaps there are many other use cases as well. Best regards, Alex soto > On May

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-15 Thread Alex Soto
.v20191022 | No authenticator for: {RoleInfo,C[admin],None} Which suggest something is misconfigured. Best regards, Alex soto > On May 15, 2020, at 2:23 PM, Gerald Kallas wrote: > > 2020-05-15T18:20:50,256 | WARN | qtp1611313605-201 | SecurityHandler >

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-15 Thread Alex Soto
I’m not sure what is happening, but I noticed, you have ‘basic’ as lowercase, maybe it is case sensitive. Try uppercase: login.config.authMethod = BASIC 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

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-15 Thread Alex Soto
y_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 replacing 1 with 2, and so on, the url matching the Camel route. > On May 14, 2020, at 5:17 PM, Gerald Kallas wrote: > > Thanks Ale

Re: REST API - Basic Authentication?

2020-05-13 Thread Alex Soto
I found a solution. See here: http://karaf.922171.n3.nabble.com/Basic-authentication-of-WAB-using-Jaas-in-Karaf-tp4058251p4058280.html <http://karaf.922171.n3.nabble.com/Basic-authentication-of-WAB-using-Jaas-in-Karaf-tp4058251p4058280.html> Best regards, Alex soto > On May

Re: REST API - Basic Authentication?

2020-05-12 Thread Alex Soto
Hello, I am facing the same issue, using Camel Rest DSL on top of Servlet, Blueprint, Karaf, Pax-Web, Jetty, how to add Basic authentication to the Rest endpoints? Any pointers/examples will be appreciated. Best regards, Alex soto > On Feb 4, 2020, at 3:15 AM, Gerald Kal

Re: Problem with Spring Boot Camel application

2020-04-02 Thread Alex Dettinger
Ok, good to know that it's solved :) On Thu, Apr 2, 2020 at 1:25 PM Gagnon, Joseph - 0553 - MITLL < joseph.gag...@ll.mit.edu> wrote: > Alex, > > I think that's what the problem was. I eventually, cleared out my local > maven repo (.m2/repository) and then also needed t

Re: Problem with Spring Boot Camel application

2020-04-02 Thread Alex Dettinger
://github.com/apache/camel-spring-boot/tree/camel-spring-boot-3.1.x/examples . Cheers, Alex On Wed, Apr 1, 2020 at 5:21 PM Gagnon, Joseph - 0553 - MITLL < joseph.gag...@ll.mit.edu> wrote: > Hello, > > I am still very new to using Apache Camel and am trying to adapt an > example p

Re: Testing Route in camel-quarkus

2020-03-25 Thread Alex Dettinger
Hi Dennis, Interesting idea, this may work in jvm mode and would need to be excluded when executing @NativeImageTest. You may also be able to inject a ProducerTemplate in the test to feed the route directly. Alex On Wed, Mar 25, 2020 at 7:55 AM Dennis Holunder wrote: > I could cre

Re: Camel version 3.0.2

2020-03-13 Thread Alex Dettinger
Hi remco, If I recall correctly, it's recommended to upgrade to camel 3.1.0 anyway as camel 3.0.x will be short lived. Hope this helps, Alex On Fri, Mar 13, 2020 at 3:16 PM Remco Schoen wrote: > Hi, > > As there are a lot of breaking changes for my projects in version

Re: Stopping a Route when no more messages meet JMS selector

2020-02-24 Thread Alex Dettinger
Not sure about the exact implementation, but I would investigate the camel code around MainSupport.durationIdle. On Sun, Feb 23, 2020 at 11:22 PM nomit babraa wrote: > Hi > > I was wondering if there is any way to do the following: > > - A route starts up. > - It consumes certain messages from

Re: ProducerTemplate.request() not returning complete Exchange

2020-02-20 Thread Alex Dettinger
't assert any side effect from jms:sahara route. producerTemplate.request(...) should set the MEP to InOut early enough so that your test is ok. Alex On Thu, Feb 20, 2020 at 3:47 AM Marci Wilken wrote: > > The problem or my mis-understanding is in the producertemplate in the >

Re: ProducerTemplate.request() not returning complete Exchange

2020-02-17 Thread Alex Dettinger
+1 for getMessage() :) On Mon, Feb 17, 2020 at 11:18 AM Giovanni Condello < giovanni.conde...@coderit.it> wrote: > Hi Marci, > > to add on what Alex said, I found it's always better to use either > getMessage() or to explicitly check if the exchange hasOut() instead o

Re: ProducerTemplate.request() not returning complete Exchange

2020-02-17 Thread Alex Dettinger
Hi Marci, I would say that from("jms:Sahara")... has MEP InOUt so In message with header "foo", and OUT message with header "bar". So assertThat(“return should be bar”,reply.get*Out/Message*().getHeader(“test”),equalTo(“bar”) should be ok. Alex On Mon,

Re: ProducerTemplate.request() not returning complete Exchange

2020-02-17 Thread Alex Dettinger
Hi Marci, I would say that from("jms:Sahara")... has MEP InOUt so In message with header "foo", and OUT mess On Fri, Feb 14, 2020 at 11:43 PM Marci wrote: > > I understand that the new Processor(){} is for the message being sent to > the consumers (from(route)) and this is working fine. >

Re: Route Tracing with Camel 3.0 and BluePrint

2020-02-13 Thread Alex Soto
Bringing this up again, not getting headers in Camel traces with Blueprint. Anybody experiencing the same? Best regards, Alex soto > On Feb 6, 2020, at 9:29 AM, Alex Soto wrote: > > I’m sorry Guillaume, but I don’t see the similarity, although you may know > something I don

Re: Rest DSL Query Params not copied to Exchange Header

2020-02-07 Thread Alex Soto
parameters (good). Best regards, Alex soto > On Feb 7, 2020, at 1:29 PM, Zoran Regvart wrote: > > query Hi Alex, > perhaps I can shed some light on this, the header in header filter > strategy refers to Camel message headers and external (say HTTP) > headers. I think (haven't

Re: Rest DSL Query Params not copied to Exchange Header

2020-02-07 Thread Alex Soto
both should behave the same way, preferable not being affected by the header filter strategy. Best regards, Alex soto > On Feb 6, 2020, at 4:44 PM, Alex Soto wrote: > > Look like it is caused by my: > > > > Which is very strange, since the ones that have defaul

Camel Simple type:name.field not working

2020-02-06 Thread Alex Soto
I have this in my route: ${type:java.util.Collections.EMPTY_LIST}

Re: Rest DSL Query Params not copied to Exchange Header

2020-02-06 Thread Alex Soto
parameters, since this is done by Camel and it is still useful. Is there a way to control this? Best regards, Alex soto > On Feb 6, 2020, at 3:34 PM, Alex Soto wrote: > > Hello: > > Running Camel 3.0.1. I have a Rest DSL, where Query Params are not being > copi

Rest DSL Query Params not copied to Exchange Header

2020-02-06 Thread Alex Soto
. The documentation https://camel.apache.org/manual/latest/rest-dsl.html <https://camel.apache.org/manual/latest/rest-dsl.html> seems to imply that the query parameters are copied to the Exchange headers, but this is not happening. Any idea? Best regards, Alex soto

Re: SEDA consumer and parallelism

2020-02-06 Thread Alex Soto
in the SEDA consumer is not causing the desired effect. Best regards, Alex soto > On Feb 6, 2020, at 12:09 PM, WEIQUAN YUAN wrote: > > as it is known that SEDA component is asyn component, but direct is sync > one, can you use direct instead of seda? > > On Wed, Jan 29, 2020 at

Re: Route Tracing with Camel 3.0 and BluePrint

2020-02-06 Thread Alex Soto
I’m sorry Guillaume, but I don’t see the similarity, although you may know something I don’t. In any case do you know of a workaround?, basically I need to be able to enable tracing of exchange headers (in Blueprint) for troubleshooting, but I have not yet found how. Best regards, Alex soto

Route Tracing with Camel 3.0 and BluePrint

2020-02-05 Thread Alex Soto
hange headers are still not logged. Any idea? Best regards, Alex soto

Re: Blueprint Rest DSL with JSonApi DataFormat

2020-02-04 Thread Alex Soto
an array of classes as required by the data format property in Rest DSL restConfiguration Blueprint XML? Best regards, Alex soto > On Feb 4, 2020, at 10:58 AM, Alex Soto wrote: > > Tried this: > > bindingMode=“json”> > > >

Re: Blueprint Rest DSL with JSonApi DataFormat

2020-02-04 Thread Alex Soto
Tried this: Produces error: Error binding property (dataFormatTypes=org.my.class.here) with name: dataFormatTypes on bean: org.apache.camel.component.jsonapi.JsonApiDataFormat@409e7690 with value: org.my.class.here Best regards, Alex soto > On Feb 4, 2

Blueprint Rest DSL with JSonApi DataFormat

2020-02-04 Thread Alex Soto
Hello, I am trying to use the JSonApi data format with Camel Rest DSL. There are not examples, as far as I know. So I am configuring it like this:

Re: SEDA consumer and parallelism

2020-01-29 Thread Alex Soto
Thanks Claus, I tested adding synchronous=true to the SEDA consumer, but it does not make any difference. The only thing that worked was to add asyncDelayed=“false” to the delay EIP. Is this perhaps a bug? Best regards, Alex soto > On Jan 29, 2020, at 1:48 PM, Claus Ibsen wr

Re: SEDA consumer and parallelism

2020-01-29 Thread Alex Soto
Thanks Claus…. Oh, I see, after returning from the delay, it is a different thread that processes the rest of the route. Where should the synchronous=true be added, in the Producer or Consumer or both URIs? Best regards, Alex soto > On Jan 29, 2020, at 11:13 AM, Claus Ibsen wr

SEDA consumer and parallelism

2020-01-29 Thread Alex Soto
or less like this: 1000 From logs, I can see messages being processed in parallel by this route. Any idea? (Camel version is 3.0.1) Best regards, Alex soto

Re: java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-29 Thread Alex Soto
Thank you JB, I created a new ticket: https://issues.apache.org/jira/browse/CAMEL-14457 <https://issues.apache.org/jira/browse/CAMEL-14457> Best regards, Alex soto > On Jan 29, 2020, at 3:15 AM, Claus Ibsen wrote: > > On Wed, Jan 29, 2020 at 6:57 AM Jean-Baptiste On

Re: java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Alex Soto
Maybe ticket https://issues.apache.org/jira/browse/CAMEL-4171 <https://issues.apache.org/jira/browse/CAMEL-4171> should be reopened, or a new one created, not sure. Will leave it to somebody that knows better. Best regards, Alex soto > On Jan 28, 2020, at 1:51 PM, Alex So

Re: java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Alex Soto
Adding: DynamicImport-Package: groovy.*, org.codehaus.groovy.* To my bundle seems to work. So I suppose this should be added somewhere in a Camel bundle? Best regards, Alex soto > On Jan 28, 2020, at 1:29 PM, Alex Soto wrote: > > This appears to be a regression, as I

Re: java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Alex Soto
This appears to be a regression, as I remember seeing this problem in the past: https://issues.apache.org/jira/browse/CAMEL-4171 <https://issues.apache.org/jira/browse/CAMEL-4171> I will try your suggestion Best regards, Alex soto > On Jan 28, 2020, at 1:24 PM, Jean-Baptiste Onof

java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Alex Soto
(GroovyExpression.java:73) … I am running Camel in Karaf OSGi environment with camel-groovy feature installed. In old Karaf 2.X, I had to install features camel-script, and camel-script-groovy, but they are no longer available. Best regards, Alex soto

Re: org.apache.camel.NoSuchLanguageException: No language could be found for: simple

2020-01-27 Thread Alex Soto
dleContext)); itCamelContext.setDataFormatResolver(new OsgiDataFormatResolver(bundleContext)); Language simple = itCamelContext.resolveLanguage("simple"); assertNotNull(simple); Best regards, Alex soto > On Jan 25, 2020, at 3:29 AM, Claus

Re: Re: Re: Bindy plus Unicode

2020-01-27 Thread Alex Dettinger
. Could you please point to the ICU4J license you've been using ? I could have a try with checking the compatibility. Alex On Sat, Jan 25, 2020 at 5:42 PM wrote: > > Hi Alex, > > well, which would then be the appropriate branch? Master or 3.x? > I guess if i create a ticket I ge

org.apache.camel.NoSuchLanguageException: No language could be found for: simple

2020-01-24 Thread Alex Soto
running as part of an OSGi environment (Karaf) Best regards, Alex soto

Re: Re: Bindy plus Unicode

2020-01-24 Thread Alex Dettinger
on to the community. Would one provide a PR against 3.x, chances are that this could be back-ported to 2.x. Please, keep time frame in mind as 2.x may close end of this year. Alex On Fri, Jan 24, 2020 at 5:20 PM Michael Greulich wrote: > > Hi Alex, > > well, your comment was already ver

Re: Bindy plus Unicode

2020-01-24 Thread Alex Dettinger
to raise a JIRA ticket. Alex On Fri, Jan 24, 2020 at 9:52 AM Michael Greulich wrote: > Hi, > > I’m having problems with the bindy component and wonder if there is > something I missed. Maybe one can help me addressing it. I cannot believe, > that I’m the first to hit this problem. >

Re: Salesforce PushTopic subscription replayId not working as expected

2020-01-23 Thread Alex Dettinger
+ debugging and see why the L165 is not called... Hope that help, Alex On Thu, Jan 23, 2020 at 3:49 AM Rick Matusiewicz < rick.matusiew...@ibotta.com> wrote: > Hello, > > I am attempting to use the camel-salesforce component to subscribe to a > Salesforce PushTopic. I am havi

Re: Parsing JSON within the Camel Velocity component template?

2020-01-06 Thread Alex Dettinger
to a pojo offering a getName() method and then use it from the velocity context with $body.name. This is not something I've tested, but looks worth a try. Alex On Mon, Jan 6, 2020 at 12:54 PM Gerald Kallas wrote: > Dear community, > > I've following snippet .. > > > [{"name

Re: Springboot Camel Javamailer Mock Testing

2019-12-12 Thread Alex Dettinger
Hi Louis, Maybe port 25 is kinda not accessible to the process. In any case, asking the org.jvnet.mock-javamail community may be a better option. Alex On Thu, Dec 12, 2019 at 1:22 PM Louis Becker wrote: > Hi > > I am trying to set up a mock test for when I am sending email to achi

Re: own endpoint exmaple?

2019-09-19 Thread Alex Dettinger
: Scaffolding your component through maven archetype https://camel.apache.org/manual/latest/camel-maven-archetypes.html. You'll then have a proper layout to start on then. Alex On Tue, Sep 17, 2019 at 12:49 PM wrote: > Hi, > > thanks so far. I didn’t know that I had to explicitely create a

Re: own endpoint exmaple?

2019-09-16 Thread Alex Dettinger
Also, the source code of the direct component could be a good starter to get inspiration: https://github.com/apache/camel/tree/master/components/camel-direct/src/main/java/org/apache/camel/component/direct Alex On Mon, Sep 16, 2019 at 12:57 PM Steve Huston wrote: > Is it possible that Spr

Re: own endpoint exmaple?

2019-09-16 Thread Alex Dettinger
Hi Thomas, This link might be of interest: https://camel.apache.org/manual/latest/writing-components.html In your case, I wonder if you missed to create the thomas component first. hth, Alex On Mon, Sep 16, 2019 at 12:44 PM wrote: > Hi, > > can some point me to a working exam

Re: [ANNOUNCEMENT] Brand new Apache Camel website

2019-08-20 Thread Alex Dettinger
Awesome. It looks so fresh and nice :) Kudos to all Cameleers that made this possible. Alex On Tue, Aug 20, 2019 at 3:39 PM Michael Joyner wrote: > Wow, it looks great > > On Tue, Aug 20, 2019 at 6:03 AM Zoran Regvart wrote: > > > Hi Cameleers! > > I'm delighted

  1   2   3   >