Issue with Camel Splitter and Asynchronous Processing in Parallel Mode

2025-01-23 Thread Esmaeili, Soheila
Hello Camel community, We are currently facing an issue with a Camel route that uses a splitter with parallelProcessing. The route includes an asynchronous processor and a delay within the splitter. However, the problem is that the split threads do not wait for the asynchronous process to compl

Re: Camel Splitter Group attribute injection not working

2018-05-18 Thread Alex Dettinger
Hi Gary, Yes, the first extract should work. The second one is at least missing some double quotes around the group xml attribute (should be group="{{noOfLines}}"). Alex On Fri, May 18, 2018 at 5:43 PM, Mills, Gary (GE Digital) < gary.l.mi...@ge.com> wrote: > Hello, > > can you inject a value

Camel Splitter Group attribute injection not working

2018-05-18 Thread Mills, Gary (GE Digital)
Hello, can you inject a value from the config params file in to the splitter group attribute? if so, what is the proper way of doing it? thanks! Is this possible? What am I doing wrong? Thank you! Gary Lee Mills Work: 331-777-2318

Re: camel splitter

2017-04-27 Thread Gary
thank you very much for the idea, I will try that. I like it more than my approach. I will let you know. thanks so much again! - Gary Lee Mills -- View this message in context: http://camel.465427.n5.nabble.com/camel-splitter-tp5798339p5798416.html Sent from the Camel - Users mailing

Re: camel splitter

2017-04-26 Thread souciance
ot;)).add(aa[0]); > } > } sc.close(); > > return null; > } > > } > Gary Lee Mills > > > -- > If you reply to this email, your message will be added to the discussion > below: &g

Re: camel splitter

2017-04-26 Thread Gary
ee Mills -- View this message in context: http://camel.465427.n5.nabble.com/camel-splitter-tp5798339p5798365.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel splitter

2017-04-26 Thread Gary
message in context: http://camel.465427.n5.nabble.com/camel-splitter-tp5798339p5798362.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel splitter

2017-04-26 Thread souciance
--- > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/camel-splitter-tp5798339.html > To start a new topic under Camel - Users, email ml+s465427n465428h31@n5. > nabble.com > To unsubs

camel splitter

2017-04-26 Thread Gary
Lee Mills -- View this message in context: http://camel.465427.n5.nabble.com/camel-splitter-tp5798339.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HELP Camel Splitter Question - thanks in advance

2016-06-13 Thread souciance
If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783984.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > T

Re: HELP Camel Splitter Question - thanks in advance

2016-06-13 Thread Gary
that worked. thanks again really appreciate that. learn something new everyday. I'm loving Camel. -- View this message in context: http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783984.html Sent from the Camel - Users mailing list archi

Re: HELP Camel Splitter Question - thanks in advance

2016-06-13 Thread Gary
thanks I do appreciate your help. I will try this -- View this message in context: http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783982.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HELP Camel Splitter Question - thanks in advance

2016-06-10 Thread souciance
14209,31.834307 > > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783897.html > To start a new top

Re: HELP Camel Splitter Question - thanks in advance

2016-06-10 Thread Gary
7399,129.75864,200.62459,-2.130173,111.07822,0.23443224,0.46886447,0.7057387,0.5860806,0.35286936,0.41147742,0.35286936,1.058608,1.0,0.8815629,0.41147742,0.52869356,1.7578125,-8.32,-8.14209,31.834307 -- View this message in context: http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question

Re: HELP Camel Splitter Question - thanks in advance

2016-06-10 Thread Gary
6-06-02-12-37-39.csv -- View this message in context: http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783896.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HELP Camel Splitter Question - thanks in advance

2016-06-10 Thread Gary
{body} -- View this message in context: http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783895.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HELP Camel Splitter Question - thanks in advance

2016-06-10 Thread Gary
thank you ! would you know how to convert body in Spring XML ? I'm trying to find some reference ... thanks again -- View this message in context: http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783893.html Sent from the Camel - Users mailing

Re: HELP Camel Splitter Question - thanks in advance

2016-06-09 Thread souciance
6:15,939 | INFO | 022/fromvan/guid | route1 > | ? ? | 198 - > org.apache.camel.camel-core - 2.15.1.redhat-620133 | Split line -rwxrwxrwx > 1 00 10 Jun 09 22:16 splitterTestFile.txt ( this is > my output ???) > >

HELP Camel Splitter Question - thanks in advance

2016-06-09 Thread Mills, Gary (GE Digital)
Hello, Can you tell me why this isn't working and it's real strange. If I use the ${body} * I cannot use tokenize with it ( I don't know if they work together or not ), it throws a schema impl exception. But it produces a different result which is the same as the input file as if it is not split

Re: Apache Camel Splitter, Threadpool and JMS

2015-08-01 Thread xlogger
Found the answer finally and posted on Stackoverflow http://stackoverflow.com/a/31738832/1180885 -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Splitter-Threadpool-and-JMS-tp5770128p5770183.html Sent from the Camel - Users mailing list archive at Nabble.com.

Apache Camel Splitter, Threadpool and JMS

2015-07-31 Thread xlogger
I posted the question on stackoverflow 3 days ago but got no response so far... repost here to see if anyone could advice on that. http://stackoverflow.com/questions/31645916/apache-camel-splitter-threadpool-and-jms == I have defined the following route in spring xml to split rows in a

Re: Camel Splitter EIP

2014-10-21 Thread Charles Moulliard
st how this can be used to my use case? > > Reji > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844p5757851.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Charles Moulli

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
Hi Charles I also found something called xtokenize on http://camel.apache.org/splitter.html documentation page. Can you suggest how this can be used to my use case? Reji -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844p5757851.html Sent from

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
ework.org/schema/beans":alias, "http://www.springframework.org/schema/beans":bean, WC[##other:"http://www.springframework.org/schema/beans"]}' is expected. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)* Can u s

Re: Camel Splitter EIP

2014-10-21 Thread Charles Moulliard
chieve the use case > with this version? or rather with ? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844p5757847.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
er.java:437)* Looks like xtokenise is available from Camel 2.14. I am using camel 2.10.xx version. Is there a way to achieve the use case with this version? or rather with ? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844p5757847.html Sent fr

Re: Camel Splitter EIP

2014-10-21 Thread Charles Moulliard
.org/schema/spring":ruby, > "http://camel.apache.org/schema/spring":simple, > "http://camel.apache.org/schema/spring":spel, > "http://camel.apache.org/schema/spring":sql, > "http://camel.apache.org/schema/spring":tokenize, > "http://camel

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
he.org/schema/spring":xquery}' is expected. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)* Do i need to add any namespace anywhere? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844p5757845.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Splitter EIP

2014-10-21 Thread contactreji
Hi friends I am trying to split my messages using camel splitter. But its a slightly different way of doing things. I have an input file as follows * ECONOMICS Paul Thomas * I want the output as follows * ECONOMICS Paul * And another

Re: Camel Splitter EIP to process xml file

2014-08-30 Thread balavino
Hi Claus, Ya aggregation strategy helped me .. thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-to-process-xml-file-tp5755861p5755875.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Splitter EIP to process xml file

2014-08-30 Thread Claus Ibsen
maps to the successive processors only > after i create the list fully with all the xml splits. > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-to-process-xml-file-tp5755861.html > Sent from the Camel - Users mai

Camel Splitter EIP to process xml file

2014-08-30 Thread balavino
message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-to-process-xml-file-tp5755861.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel splitter threadpool configuration : messages stuck in queue ?

2014-07-22 Thread A577127
d that the cachedThreadPool could create threads until it runs out of memory, and queue the next ones for later. Its java doc sounds great for my case : -- View this message in context: http://camel.465427.n5.nabble.com/Camel-splitter-threadpool-configuration-messages-stuck-in-queue-tp5754194p5754216

Re: Camel splitter threadpool configuration : messages stuck in queue ?

2014-07-22 Thread Ravi Godbole
following case it is set to 1000 ) .split().method(MySplitterBean.class,"split").executorService(Executors.newFixedThreadPool(1000)) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-splitter-threadpool-configuration-messages-stuck-in-queue-tp5754194p5754207

Camel splitter threadpool configuration : messages stuck in queue ?

2014-07-22 Thread A577127
e when the previous one has finished the route. I saw that the camel-splitter <http://camel.apache.org/splitter.html> had settings to allow parallel processing. At first I just set in my route. It still works fine, but I wasn't happy with the default settings of the thread pool. Tha

Re: Which expression language to use within Camel Splitter to split a CSV file?

2013-12-10 Thread kraythe .
> > > > Best regards, > > Kai > > > > > > > > > > - > > Best regards, > > Kai Wähner > > > > Twitter: @KaiWaehner > > Email: kont...@kai-waehner.de > > Blog: www.kai-waehner.de/b

Re: Which expression language to use within Camel Splitter to split a CSV file?

2013-12-09 Thread Christian Posta
; View this message in context: > http://camel.465427.n5.nabble.com/Which-expression-language-to-use-within-Camel-Splitter-to-split-a-CSV-file-tp5744503.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Which expression language to use within Camel Splitter to split a CSV file?

2013-12-09 Thread kraythe .
waehner.de > Blog: www.kai-waehner.de/blog > -- > View this message in context: > http://camel.465427.n5.nabble.com/Which-expression-language-to-use-within-Camel-Splitter-to-split-a-CSV-file-tp5744503.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Which expression language to use within Camel Splitter to split a CSV file?

2013-12-09 Thread megachucky
.nabble.com/Which-expression-language-to-use-within-Camel-Splitter-to-split-a-CSV-file-tp5744503.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Need a help in camel splitter

2013-12-03 Thread Francois LIOT
the trick. Regards, Francois From: vinayk0889 Sent: Tuesday, December 3, 2013 2:28 PM To: users@camel.apache.org Subject: Need a help in camel splitter requirement is i want to define splitter to split SOAP response and put into ActiveMQ Queue. Please help

Need a help in camel splitter

2013-12-03 Thread vinayk0889
Each splitting how can put it into different queue.. please help. -- View this message in context: http://camel.465427.n5.nabble.com/Need-a-help-in-camel-splitter-tp5744242.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Splitter slowness problem

2013-10-29 Thread djanand
ontext: http://camel.465427.n5.nabble.com/Camel-Splitter-slowness-problem-tp5742307p5742355.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Splitter slowness problem

2013-10-28 Thread alexey-s
throws Exception { return JAXBContext.newInstance(key); } }); JAXBContext jc = cache.get(cls); -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-slowness-problem-tp5742307p5742333.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Splitter slowness problem

2013-10-28 Thread djanand
ppet:- ${property.CamelSplitComplete} == 'true' Am i doing something wrong here which is responsible for the slowness ? Please advise. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-slowness-problem-

Re: ConcurrentModificationException thrown from inside camel splitter

2013-09-22 Thread Joshua Groom
I have created a bug for this. https://issues.apache.org/jira/browse/CAMEL-6771 -- View this message in context: http://camel.465427.n5.nabble.com/ConcurrentModificationException-thrown-from-inside-camel-splitter-tp5739793p5740035.html Sent from the Camel - Users mailing list archive at

Re: ConcurrentModificationException thrown from inside camel splitter

2013-09-19 Thread Joshua Groom
>> We use camel 2.11.1 running on the oracle 1.7 jvm for linux. >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/ConcurrentModificationException-thrown-from-inside-camel-splitter-tp5739793p5739814.h

Re: ConcurrentModificationException thrown from inside camel splitter

2013-09-19 Thread Claus Ibsen
19, 2013 at 11:44 AM, Joshua Groom wrote: > We use camel 2.11.1 running on the oracle 1.7 jvm for linux. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ConcurrentModificationException-thrown-from-inside-camel-splitter-tp5739793p5739814.html

Re: ConcurrentModificationException thrown from inside camel splitter

2013-09-19 Thread Joshua Groom
We use camel 2.11.1 running on the oracle 1.7 jvm for linux. -- View this message in context: http://camel.465427.n5.nabble.com/ConcurrentModificationException-thrown-from-inside-camel-splitter-tp5739793p5739814.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ConcurrentModificationException thrown from inside camel splitter

2013-09-18 Thread Claus Ibsen
lightRepositoryProcessor.java:48) > at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) > at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) > at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) > at > org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) > at > org.apache.camel.component.seda.SedaConsumer.sendToConsumers(SedaConsumer.java:294) > at > org.apache.camel.component.seda.SedaConsumer.doRun(SedaConsumer.java:203) > at > org.apache.camel.component.seda.SedaConsumer.run(SedaConsumer.java:150) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ConcurrentModificationException-thrown-from-inside-camel-splitter-tp5739793.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen

ConcurrentModificationException thrown from inside camel splitter

2013-09-18 Thread Joshua Groom
-- View this message in context: http://camel.465427.n5.nabble.com/ConcurrentModificationException-thrown-from-inside-camel-splitter-tp5739793.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How can I tell if Apache Camel Splitter didn't split anything?

2013-01-11 Thread Claus Ibsen
re you can add tickets for new ideas etc. Link from here http://camel.apache.org/support > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-can-I-tell-if-Apache-Camel-Splitter-didn-t-split-anything-tp5725181p5725185.html > Sent from the Camel - Users

Re: How can I tell if Apache Camel Splitter didn't split anything?

2013-01-09 Thread wxkevin
.nabble.com/How-can-I-tell-if-Apache-Camel-Splitter-didn-t-split-anything-tp5725181p5725185.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How can I tell if Apache Camel Splitter didn't split anything?

2013-01-09 Thread wxkevin
can-I-tell-if-Apache-Camel-Splitter-didn-t-split-anything-tp5725181p5725183.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How can I tell if Apache Camel Splitter didn't split anything?

2013-01-09 Thread Claus Ibsen
On Wed, Jan 9, 2013 at 1:15 PM, wxkevin wrote: > I have an Apache Camel Splitter such as the following: > > ... > from("{{direct.split}}") > .split().method(splitter, "iterate").streaming() > .stopOnException() > .setHeader("{{heade

How can I tell if Apache Camel Splitter didn't split anything?

2013-01-09 Thread wxkevin
I have an Apache Camel Splitter such as the following: ... from("{{direct.split}}") .split().method(splitter, "iterate").streaming() .stopOnException() .setHeader("{{header.index}}", simple("${property.CamelSplitIndex}++")) // Other proc

Re: Camel Splitter with Xpath recognizes namespace, but returns null

2011-08-12 Thread Christian Müller
Did you had already a look on [1]? May one of the other possibilities works for you: - declaring the namespace on the camel context element (instead of the beans element) - specifying the xPath result type [1] http://camel.apache.org/xpath.html Best, Christian

Re: Camel Splitter with Xpath recognizes namespace, but returns null

2011-08-09 Thread Jean-Baptiste Onofré
dea where I'm going wrong? Any help would be greatly appreciated! Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-with-Xpath-recognizes-namespace-but-returns-null-tp4682976p4682976.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel Splitter with Xpath recognizes namespace, but returns null

2011-08-09 Thread klua
ned before, I declare the namespace, in the bean context of spring. And I get the expected number of results from xpath, but null values. Any idea where I'm going wrong? Any help would be greatly appreciated! Thanks! -- View this message in context: http://camel.465427.n5.nabble

Re: Camel splitter

2010-06-10 Thread marcin80
>> >> doesn't works as I expect. Method test of my bean is invoked with >> String's >> argument type. >> >> Following code works fine and method test of my bean is invoked with >> HashMap's argument type. >> >> &g

Re: Camel splitter

2010-06-09 Thread Claus Ibsen
ethod test of my bean is invoked with String's > argument type. > > Following code works fine and method test of my bean is invoked with > HashMap's argument type. > > >                ${in.body} >                 > > > works fine. > > What am I

Camel splitter

2010-06-09 Thread marcin80
ring's argument type. Following code works fine and method test of my bean is invoked with HashMap's argument type. ${in.body} works fine. What am I doing wrong? Cheers, Marcin -- View this message in context: http://old.nabble.com/Camel-splitter-tp28