elasticsearch-component and bulk request

2024-02-13 Thread Arnaud JOLLY
Hello, I try to use the camel elasticsearch-component to push a list of objects to an elastic search with bulk operation (camel with spring boot in 4.0.3 version) After reading the documentation, and search samples, i can't use the elasticsearch bulk with camel. Does anyone try the bulk

Re: HTTP handlers with Camel Undertow endpoint

2023-02-24 Thread Arnaud Level
Hi Claus, sorry I forgot to mention it: 3.18.0 On Fri, Feb 24, 2023 at 1:31 PM Claus Ibsen wrote: > What Camel version do you use > > On Fri, Feb 24, 2023 at 12:04 PM Arnaud Level > wrote: > > > Hi, > > > > We are trying to configure a HTTP handler on our Un

HTTP handlers with Camel Undertow endpoint

2023-02-24 Thread Arnaud Level
ationHandler"); So we know the bean is in the registry before the route is defined. We could not find any examples. Could someone please tell us how handlers are supposed to be configured to get them working ? Thank you in advance! Arnaud

Re: Camel AWS SQS and concurrentConsumers

2022-02-03 Thread Arnaud Level
Hi Narsi, I've just created the Jira: CAMEL-17592 <https://issues.apache.org/jira/browse/CAMEL-17592> On Wed, Feb 2, 2022 at 11:35 PM Narsi Reddy Nallamilli < narsi.nallami...@gmail.com> wrote: > Hi Arnaud, > > Yup, It used to work before because I use it in my projec

Re: Camel AWS SQS and concurrentConsumers

2022-02-02 Thread Arnaud Level
taken into account. I still think we should open an issue as this behavior is supposed to be supported by the concurrentConsumer URI parameter of the SQS component. What do you think? Thanks for your help again! Arnaud On Wed, Feb 2, 2022 at 6:42 PM Arnaud Level wrote: > Hi Narsi, > >

Re: Camel AWS SQS and concurrentConsumers

2022-02-02 Thread Arnaud Level
ing the concurrentConsumers parameter, if this is a bug, I believe it is a regression because according to this article <https://blog.christianposta.com/camel/very-fast-camels-and-cloud-messaging/> it has worked in the past. Shouldn't we open an issue ? Thanks again! Arnaud On Wed, Feb 2, 202

Re: Camel AWS SQS and concurrentConsumers

2022-01-31 Thread Arnaud Level
lete message is sent which occurs only after the sleep of 5 secs. Only 1 message is read per polling and I should see at least 5 of them since concurrentConsumers=5. It looks to me there is still only 1 concurrent consumer and I don't understand why. Arnaud On Mon, Jan 31, 2022 at 3:27 PM Larry S

Re: Camel AWS SQS and concurrentConsumers

2022-01-31 Thread Arnaud Level
Hi Narsi, It's a fifo but I actually tried the simple code I've posted on a standard one too and observed the same behavior. On Mon, Jan 31, 2022 at 1:11 PM Narsi Reddy Nallamilli < narsi.nallami...@gmail.com> wrote: > Hi Arnaud, > > Is your AWS queue type fifo or standard? >

Camel AWS SQS and concurrentConsumers

2022-01-31 Thread Arnaud Level
ay of 5s). I would understand the above behavior with concurentConsumers=1 but I don't with concurentConsumers=5. Could someone tell me what I've misunderstood ? Thank you in advance! Arnaud

Re: Aggregation Stratergy Apache camel

2016-05-09 Thread Arnaud Deprez
ge in context: > http://camel.465427.n5.nabble.com/Aggregation-Stratergy-Apache-camel-tp5782341.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Arnaud Deprez Software Engineer Phone: +32 497 23 30 44 Linked'In: https://www.linkedin.com/in/deprezarnaud Github: https://github.com/arnaud-deprez

Re: routing from rest to soap

2016-05-09 Thread Arnaud Deprez
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) > at > > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) > at java.lang.Thread.run(Thread.java:745) > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/routing-from-rest-to-soap-tp5782352.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Arnaud Deprez Software Engineer Phone: +32 497 23 30 44 Linked'In: https://www.linkedin.com/in/deprezarnaud Github: https://github.com/arnaud-deprez

Re: Question: register jackson module with auto binding in rest dsl

2016-04-04 Thread Arnaud Deprez
ass names of those custom modules > http://camel.apache.org/json.html > > And if using the rest-dsl you can configure that using the > dataFormatProperty style. > > Or you can refer to existing modules in the registry using the id's > with the moduleRefs option. > > On Mon, A

Question: register jackson module with auto binding in rest dsl

2016-04-04 Thread Arnaud Deprez
Hi camel riders, I've one question (which is by the way in the title): - Is there a way to register jackson modules (ie jdk8 & jsr310) in the RestBinding.auto configuration for services exposed with the rest-dsl ? Thanks in advance and keep riding ! Rgds, -- Arnaud Deprez

Re: Problem with feature camel-spring 2.17.0

2016-04-02 Thread Arnaud Deprez
Alright, I didn't see that yesterday. Thx Claus :-) On Sat, Apr 2, 2016 at 1:04 PM Claus Ibsen <claus.ib...@gmail.com> wrote: > There is a ticket about moving spring-dm out > https://issues.apache.org/jira/browse/CAMEL-9521 > > > > On Fri, Apr 1, 2016 at 10:53 PM,

Problem with feature camel-spring 2.17.0

2016-04-01 Thread Arnaud Deprez
be nice to solve it. A new bundle might be required (camel-tx-spring or something like) to avoid collision with spring-dm as camel-spring relies on it. What do you think ? Regards -- Arnaud Deprez

Re: Camel Deployment - Best Practice

2015-10-14 Thread Arnaud Deprez
Hi, If you need/like OSGi, I would go for karaf but if you don't, I'd go for spring-boot as you can benefit from the whole benefit of spring without having to deal with specific container configuration. Rgds, On Wed, Oct 14, 2015 at 8:13 PM contactreji wrote: > Hello

Camel 2.16.0: ProducerTemplate has not been started

2015-10-13 Thread Arnaud Deprez
.v20150310] at java.lang.Thread.run(Thread.java:745)[:1.8.0_45] So I suppose it's a kind of regression here ? Rgds, Arnaud

Re: Camel 2.16.0: ProducerTemplate has not been started

2015-10-13 Thread Arnaud Deprez
The bug seems to be related with karaf and not with camel as it works in karaf 2.4.3 and karaf 3.0.5. On Tue, Oct 13, 2015 at 1:59 PM Arnaud Deprez <arnaudep...@gmail.com> wrote: > Hi, > > I upgraded my project to the last 2.16.0 camel release and I get this > exception in kara

Re: Unstable test with camel-test-blueprint

2015-10-12 Thread Arnaud Deprez
e project then ;) > > regards > Grzegorz > > 2015-10-09 16:43 GMT+02:00 Arnaud Deprez <arnaudep...@gmail.com>: > > No I got the same behaviour with camel 2.16-SNAPSHOT :-( > > > > On Fri, Oct 9, 2015 at 4:21 PM Grzegorz Grzybek <gr.grzy...@gmail.com> >

Re: Unstable test with camel-test-blueprint

2015-10-12 Thread Arnaud Deprez
ards > Grzegorz > > 2015-10-12 9:26 GMT+02:00 Arnaud Deprez <arnaudep...@gmail.com>: > > Hi, > > > > I've updated my project to the latest camel 2.16.0 and the issue seems to > > be resolved. > > Keep in touch in case the problem occurs again. > >

Re: Unstable test with camel-test-blueprint

2015-10-09 Thread Arnaud Deprez
No I got the same behaviour with camel 2.16-SNAPSHOT :-( On Fri, Oct 9, 2015 at 4:21 PM Grzegorz Grzybek wrote: > Hi > > for camel-2.15.2 you have > "com.googlecode.pojosr:de.kalpatec.pojosr.framework:jar:0.2.1:test" > dependency - which isn't stable. > for camel-2.16 it

Re: https REST DSL servicemix CamelHttpTransportServlet

2015-10-04 Thread Arnaud Deprez
As the servlet use jetty by default you can configure it but I didn't recommend it. It's better and easier and more scalable to use a proxy like haproxy, nginx or apache and configure it with ssl endpoints in front of your web service. These tools are especially build for this use case Le Dim 4

Unstable test with camel-test-blueprint

2015-10-02 Thread Arnaud Deprez
for that ? I found this issue for 2.15.3 but I don't know if it solves this too. Rgds, Arnaud

Re: https REST DSL servicemix CamelHttpTransportServlet

2015-09-29 Thread Arnaud Deprez
What do you mean by "secure" ? Configure ssl, Role based spring like application or Both ? On Tue, Sep 29, 2015 at 4:16 PM sekaijin wrote: > Hi > Howto configure servicemix to secure Rest service using REST DSL and > CamelHttpTransportServlet > > > Thank > JYT > > > >

Re: Dynamic DataSource

2015-09-14 Thread arnaud
Chistian, yes the datasource is configured in the camel context, when the dataSource is hard coded it works : from("direct:create") .to("sql:insert into customer(firstname, lastname) values(:#firstName, #lastName)?dataSource=#myDynamicSource")); Arnaud -- View thi

Re: Dynamic DataSource

2015-09-11 Thread arnaud
me)?dataSource=#${header.dataSource}") .getText()).to("log:output"); Bu when the camel constext is started I have the following error: Caused by: org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: ${header.dataSource} of type: ja

Dynamic DataSource

2015-09-10 Thread arnaud
int: sql://insert%20into%20customer(firstname,%20lastname)%20values(:?firstName%2C+%3A%3FlastName%29%3FdataSource=%23myDynamicDataSource due to: DataSource must be configured Any idea of the problem or another solution to implement a dynamic datasource? Thanks, Arnaud -- View this message

Re: Getting query parameters from jetty and put then in restlet endpoint

2015-08-14 Thread arnaud
://localhost:20010/services/getInfos?restletMethod=get;); I'm not sure this is the best way, bu it works. Thanks for your help. Arnaud -- View this message in context: http://camel.465427.n5.nabble.com/Getting-query-parameters-from-jetty-and-put-then-in-restlet-endpoint-tp5770602p5770707.html

Getting query parameters from jetty and put then in restlet endpoint

2015-08-12 Thread arnaud
=${in.headers.param2}restletMethod=get;); How can I pass my parameters? Thanks, Arnaud -- View this message in context: http://camel.465427.n5.nabble.com/Getting-query-parameters-from-jetty-and-put-then-in-restlet-endpoint-tp5770602.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Rest DSL context-path not taken into account with netty4-http

2015-07-31 Thread Arnaud Deprez
Hi, Everything is in the subject. I've some Rest DSL routes with the following rest configuration : restConfiguration bindingMode=json component=netty4-http host=0.0.0.0 port=

Re: Camel Rest DSL context-path not taken into account with netty4-http

2015-07-31 Thread Arnaud Deprez
at 11:49 AM, Arnaud Deprez arnaudep...@gmail.com wrote: Hi, Everything is in the subject. I've some Rest DSL routes with the following rest configuration : restConfiguration bindingMode=json component=netty4-http host=0.0.0.0

Re: camel-swagger in karaf

2015-07-21 Thread Arnaud Deprez
I just raised an issue for this : https://issues.apache.org/jira/browse/CAMEL-8993 On Tue, Jul 21, 2015 at 5:24 PM Arnaud Deprez arnaudep...@gmail.com wrote: Thanks Ed, Until your message I though I was the only one who is trying this. I also think it's a classpath issue because as I said, I

Re: camel-swagger in karaf

2015-07-21 Thread Arnaud Deprez
as a possible source of your issue. Regards, Ed On Mon, 20 Jul 2015 15:24:38 +, Arnaud Deprez arnaudep...@gmail.com wrote: Hi again, I just push my example here which works fine with spring-boot but still can't see the model in Karaf. https://github.com/arnaud-deprez/camel-examples/tree

Re: camel-swagger in karaf

2015-07-20 Thread Arnaud Deprez
Hi again, I just push my example here which works fine with spring-boot but still can't see the model in Karaf. https://github.com/arnaud-deprez/camel-examples/tree/master/rest There are also the features I use. If someone find what's wrong, I'd be verry happy ! :-) On Thu, Jul 16, 2015 at 1:46

Re: camel-swagger in karaf

2015-07-16 Thread Arnaud Deprez
find that I think it has some pointers to get it working. On Thu, Jul 16, 2015 at 11:48 AM, Arnaud Deprez arnaudep...@gmail.com wrote: Hi guys, I don't know if this mail is for camel folks or karaf folks. I'm using camel 2.15.2 with its REST DSL and camel-swagger in an OSGi

camel-swagger in karaf

2015-07-16 Thread Arnaud Deprez
Hi guys, I don't know if this mail is for camel folks or karaf folks. I'm using camel 2.15.2 with its REST DSL and camel-swagger in an OSGi environment (I tried both karaf 2.4.3 and karaf 4). I'm using the servlet component by exposing it as OSGi services : - CamelHttpTransportServlet for

Re: camel-swagger in karaf

2015-07-16 Thread Arnaud Deprez
? On Thu, Jul 16, 2015 at 1:10 PM, Arnaud Deprez arnaudep...@gmail.com wrote: Hi, Thanks for your quick answer. I've tried to add either a file org.apache.camel.cfg and jmx.acl.org.apache.camel.cfg that has * = * and I still have the same issue, even after restarting my karaf

Re: camel jpa blueprint unit test

2015-02-16 Thread Arnaud Deprez
Thx for your answer, I'll read your blog :-). Is it possible to imagine to have such an improvement in the mocked service registry ? I think it would be nice if we can unit test our jpa stuff (like with spring) without having to run a complete karaf container for each test. Arnaud 2015-02-15 18

camel jpa blueprint unit test

2015-02-15 Thread Arnaud Deprez
and being able to debug my code if needed. Regards, Arnaud

Re: JMS Batch consumption

2014-08-09 Thread Arnaud Deprez
) , and if insertion fails , then the message be acknowledged ( removed from queue) and stored into a file what is the best pattern to use ? On Fri, Aug 8, 2014 at 11:37 AM, Arnaud Deprez arnaudep...@gmail.com wrote: Hi folks ! I'd like to write a camel route that consumes a group

JMS Batch consumption

2014-08-08 Thread Arnaud Deprez
to me, it seems to be a design issue but I'm not sure and I'd like your point of view about this ? If you have a workaround or another solution that can suit to me, please share ! :-) Arnaud Deprez

Re: How to stop routing with onException ?

2014-08-04 Thread Arnaud Deprez
Hi Frankiboy, It's because you use multicast which consist to send exactly the same exchange in your 3 channels. So these 3 messages are independents. http://camel.apache.org/multicast.html If you remove the multicast, it will use the pipeline pattern, meaning, it will send the message to the

Re: Camel-jdbc : can't get useHeadersAsParameters working properly

2014-07-30 Thread Arnaud Deprez
Hi, Can you tell us which camel version do you use and show us your route please ? 2014-07-30 10:52 GMT+02:00 A577127 antoine.mat...@worldline.com: Hi, I'm trying to send a mysql request thanks to camel-jdbc. However, one of my fields is a byteArray, so I would like to use named parameters

Re: Handle SOAP fault message

2014-07-29 Thread Arnaud Deprez
Hi Jaishankar, Actually, Camel will not throw a SOAPFaultException, but a CamelRuntimeException that wraps a SOAPFaultException. Instead of handling exception by hand, Camel can do it for you in 3 different ways depending on what you'd like to do : 1.

Re: Handle SOAP fault message

2014-07-29 Thread Arnaud Deprez
Hi, Can you show us how you have configured your endpoint TransactionBegin and also the method signature of begin. Normally, by using CXF/JAXWS, the SOAPFault message should mapped to an Exception. and in your code you must handle this exception. If it's not the case, CXF won't be able to map

Re: How to pass multiple custom objects to processor

2014-07-29 Thread Arnaud Deprez
Hi, As I don't know your data structure, it's difficult for me to give you a specific (or best) way. But you have 2 possibilities (see http://camel.apache.org/aggregator.html) : 1. Use a custom aggregation strategy in java code 2. Use the option grouped exchanges or use a custom

Re: Why RuntimeCamelException is thrown whenever some IOException occur for write/read

2014-07-29 Thread Arnaud Deprez
Hi, Actually, camel will wrap any of your exception or other exception in a RuntimeCamelException. You can handle exceptions (including wrapped exception) in many ways in camel (http://camel.apache.org/error-handling-in-camel.html) 2014-07-29 6:03 GMT+02:00 Satyam Singh

Re: How to pass multiple custom objects to processor

2014-07-28 Thread Arnaud Deprez
If I get you correctly, I think the best pattern that matches your need is : 1. split your messages by headers and bodies (by using XPath or the tokenizer with regex expression) 2. then aggregate it in the object you want (a collection or whatever you want) 3. then call a processor

Camel Javascript Leak

2013-10-13 Thread Arnaud Marchand
Hi, I am experiencing a memory leak in the following conditions: 1) I Have a small application, built using Maven against the version 2.12.1 of camel. There is no trick to get a particular version of any library in my pom.xml 2) I only use the spring xml DSL files 3) I use ActiveMQ as Broker

RE: JMS queue also dequeued on Producer error

2012-10-02 Thread DEPREZ Arnaud AWL-IT
will be left in the queue). Take a look at the transactional route from camel : http://camel.apache.org/transactional-client.html Kr, Arnaud Deprez -Original Message- From: Platta [mailto:georg.ho...@gkndriveline.com] Sent: mardi 2 octobre 2012 13:58 To: users@camel.apache.org Subject

RE: Camel Twitter - Filter through message body

2012-10-02 Thread DEPREZ Arnaud AWL-IT
Hi, I think your bar header isn't set or I don't understand what you want to do. When you read a file from the file component of Camel, Camel won't set a bar header for you. The camel file component will set some header but not the bar one. Arnaud Deprez -Original Message- From

RE: Naming your file with org.apache.camel.file.name

2012-09-04 Thread DEPREZ Arnaud AWL-IT
I don't see where you call the method sendTo(...). If you don't call it, Camel will put the Exchange ID as the name of your file. Arnaud Deprez Analyst-Programmer Acquiring Back-Office +32 2 727 72 09 arnaud.dep...@atos.net Chaussee de Haecht 1442 Haachtsesteenweg 1130 Brussels Belgium

RE: Type Conversion Exception

2012-08-27 Thread DEPREZ Arnaud AWL-IT
Yes JAXB is namespace aware. So your model classes (and so your xsd because you generated your model classes from your xsd), must have the same namespaces. If you don't find any solution, please provide us an xml sample and your xsd. KR, Arnaud Deprez Analyst-Programmer Acquiring Back-Office

RE: Strange behavior with Camel Validator Component

2012-07-27 Thread DEPREZ Arnaud AWL-IT
Yeah it's solve, it was just a problem of bad coding that sent the following message : com.awl.acq.wlsi.sips.xsd doesnt contain ObjectFactory.class or jaxb.index to validate with a xsd. To the validation endpoint. Thanks for your help and your time :-) KR, Arnaud Deprez -Original

Strange behavior with Camel Validator Component

2012-07-26 Thread DEPREZ Arnaud AWL-IT
] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)[:1.6.0_07] at java.lang.Thread.run(Thread.java:619)[:1.6.0_07] Which is very strange because ObjectFactory isn't needed for the W3C schema validation. If someone has any idea ? KR, Arnaud Deprez

RE: Strange behavior with Camel Validator Component

2012-07-26 Thread DEPREZ Arnaud AWL-IT
Sorry, for this mail ! It was a very bad code that send this message com.awl.acq.wlsi.sips.xsd doesnt contain ObjectFactory.class or jaxb.index to validate with a xsd. KR, Arnaud Deprez -Original Message- From: DEPREZ Arnaud AWL-IT [mailto:arnaud.dep...@atos.net] Sent: jeudi 26

CronScheduledRoutePolicy in JUnit test

2012-05-30 Thread DEPREZ Arnaud AWL-IT
/version /dependency But it's still doesn't work. If someone has an idea, you're welcome ! KR, Arnaud Deprez Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg - 1130 Brussels - Belgium RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872

RE: CronScheduledRoutePolicy in JUnit test

2012-05-30 Thread DEPREZ Arnaud AWL-IT
I still have the same issue with this dependency : dependency groupIdorg.quartz-scheduler/groupId artifactIdquartz/artifactId version1.8.4/version /dependency Arnaud Deprez -Original Message- From: Christian Müller [mailto:christian.muel...@gmail.com] Sent: mercredi

RE: CronScheduledRoutePolicy in JUnit test

2012-05-30 Thread DEPREZ Arnaud AWL-IT
Thanks, I solve the problem. It was a conflict with another dependency : dependency groupIdorg.apache.openejb/groupId artifactIdopenejb-core-osgi/artifactId version3.1.4/version /dependency KR, Arnaud Deprez -Original Message- From: Henryk Konsek [mailto:hekon

Aries TransactionManager + OpenJPA + ActiveMQ

2012-05-08 Thread DEPREZ Arnaud AWL-IT
) ... 14 more Arnaud Deprez Analyst-Programmer Acquiring Back-Office +32 2 727 72 09 arnaud.dep...@atos.nethttp://intranet.atosworldline.com/Region1-fr/firstname.lastn...@atos.net Chaussee de Haecht 1442 Haachtsesteenweg 1130 Brussels Belgium atosworldline.behttp://atosworldline.be

write TransactionManagerLookup with geronimo for hibernate

2012-04-20 Thread DEPREZ Arnaud AWL-IT
getUserTransactionName() { return java:comp/UserTransaction; } @Override public Object getTransactionIdentifier(Transaction transaction) { return transaction; } } Arnaud Deprez Analyst-Programmer Acquiring Back-Office +32 2 727 72 09 arnaud.dep

RE: OSGI Transaction Propagation to Camel Route

2012-04-19 Thread DEPREZ Arnaud AWL-IT
(DefaultMessageListenerContainer.java:947)[77:org.springframework.jms:3.0.5.RELEASE] at java.lang.Thread.run(Thread.java:619)[:1.6.0_14] Arnaud Deprez  please don't print unless you really need to -Original Message- From: Chris Geer [mailto:ch...@cxtsoftware.com] Sent: mercredi 18 avril 2012 18:43 To: users

RE: OSGI Transaction Propagation to Camel Route

2012-04-19 Thread DEPREZ Arnaud AWL-IT
the list of dependencies you use ? Or the features ? Arnaud Deprez  please don't print unless you really need to -Original Message- From: DEPREZ Arnaud AWL-IT Sent: jeudi 19 avril 2012 14:24 To: users@camel.apache.org Subject: RE: OSGI Transaction Propagation to Camel Route Hi Chris

RE: Camel Jaxb- Not able to unmarshall a xml

2012-04-16 Thread DEPREZ Arnaud AWL-IT
from a wrong configuration of your model. Can you check if you have this kind of configuration ? KR, Arnaud Deprez  please don't print unless you really need to -Original Message- From: atg roxx [mailto:atgr...@gmail.com] Sent: vendredi 13 avril 2012 17:11 To: users@camel.apache.org

RE: How to suspend/resume a route dynamically by programmation ?

2012-04-13 Thread DEPREZ Arnaud AWL-IT
Hi Christian ! Thanks for your answer. I think that your solution is exactly what I need ! So if can give me more details of how do you have implemented it, it should help me to see if it's really a good solution for me. KR, Arnaud -Original Message- From: Christian Müller

RE: Camel Jaxb- Not able to unmarshall a xml

2012-04-13 Thread DEPREZ Arnaud AWL-IT
Maybe it's a problem of namespaces. Can you tell me if you use different namespaces for GetProductPriceOffers and partner/request element ? If they are different, it must be specified in your JAXB java class model. KR, Arnaud Deprez -Original Message- From: Christian Müller