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
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
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
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
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
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.
message in context:
http://camel.465427.n5.nabble.com/camel-splitter-tp5798339p5798362.html
Sent from the Camel - Users mailing list archive at Nabble.com.
---
> 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
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.
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
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
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.
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
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
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.
{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.
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
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 ???)
>
>
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
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.
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
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
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
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
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
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
.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
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.
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
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.
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
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.
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
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
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
> >
> > Best regards,
> > Kai
> >
> >
> >
> >
> > -
> > Best regards,
> > Kai Wähner
> >
> > Twitter: @KaiWaehner
> > Email: kont...@kai-waehner.de
> > Blog: www.kai-waehner.de/b
; 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
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.
>
.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.
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
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.
ontext:
http://camel.465427.n5.nabble.com/Camel-Splitter-slowness-problem-tp5742307p5742355.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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.
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-
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
>> 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
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
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.
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
--
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 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
.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.
can-I-tell-if-Apache-Camel-Splitter-didn-t-split-anything-tp5725181p5725183.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
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
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
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.
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
>>
>> 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
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
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
61 matches
Mail list logo