Re: Availability of HTTP4 component in Camel 3.0.0

2020-01-06 Thread Maruan Sahyoun
;m using Camel 3.0.0 ant did find the HTTP component only. When would become > the HTTP4 component part of the release? > > Best > - Gerald -- Maruan Sahyoun FileAffairs GmbH Josef-Schappe-Straße 21 40882 Ratingen Tel: +49 (2102) 89497 88 Fax: +49 (2102) 89497 91 sahy...@fileaff

Re: JSONPath array length validation

2019-09-17 Thread Maruan Sahyoun
Hi, you're mixing up simple amd jsonpath which is not a function within simple. Your when statement can be written as .when().jsonpath("$..books.length() == 1") Take a look at the sample here https://camel.apache.org/components/latest/jsonpath-language.html BR Maruan > I am parsing an json

Re: Route to two paths

2016-11-30 Thread Maruan Sahyoun
Hi, > Am 30.11.2016 um 15:25 schrieb spurcell : > > In a project I am working on, I am parsing a large excel file, and during the > routing, I am performing some validation on the data. I have a route that > performs the validation, and if validation is good, I want to continue down > the same ro

Re: Apache Karaf and camel-fop

2014-02-14 Thread Maruan Sahyoun
Hi, it worked for me in Karaf. I can’t say anything about ServiceMix as I’m not using it. BR Maruan Sahyoun Am 13.02.2014 um 20:26 schrieb subrata.sar...@oup.com: > Hi Maruan, > > Could you please guide me in this? Is this now working in SMX 4.5.3. Can you > send me a sample?

Re: Reg JMS connectivity with Camel

2013-05-30 Thread Maruan Sahyoun
Hi, there is a complete documentation available on http://camel.apache.org/jms.html BR Maruan Am 30.05.2013 um 08:49 schrieb : > Hi , > Can you please send me a sample code to connect the JMS queues with camel. > > As per our requirement we need to fetch the XML message from a JMS queue and

Re: ProducerTemplate and direct:start in camel

2013-04-08 Thread Maruan Sahyoun
plate but you have to start it BEFORE you can use it. As the Context is not started there is no route! BR Maruan Sahyoun Am 09.04.2013 um 06:30 schrieb Tarun Kumar : > "Ok, first thing is you need to start your context (which starts the routes) > before you can use a producer template

Re: Camel-Spring Application Start and Stop

2013-03-21 Thread Maruan Sahyoun
Hi, maybe these examples will help? http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html http://blog.nanthrax.net/2011/08/use-camel-cxf-and-karaf-to-implement-batches/ Kind regards Maruan Sahyoun Am 21.03.2013 um 11:41 schrieb Bilgin Ibryam : > When the app is running i

Re: Is there batch functionality in Camel?

2013-02-27 Thread Maruan Sahyoun
you could use the Aggregator for that http://camel.apache.org/aggregator2.html Maruan Sahyoun Am 27.02.2013 um 18:19 schrieb Ivan Vasilev : > I wonder if the Spring Batch Component ( > http://camel.apache.org/springbatch.html) is proper to use in this case? > > Ivan

Re: Large file processing with Apache Camel

2013-02-22 Thread Maruan Sahyoun
line per line into the file. So the IO issue was not READING the original file. That's why I'm not sure if you have an IO issue or you should verify that reading the file is slow. Maruan Sahyoun Am 22.02.2013 um 09:05 schrieb cristisor : > I will try to provide the steps that

Re: Large file processing with Apache Camel

2013-02-22 Thread Maruan Sahyoun
line per line into the file. So the IO issue was not READING the original file. That's why I'm not sure if you have an IO issue or you should verify that reading the file is slow. Maruan Sahyoun Am 22.02.2013 um 09:05 schrieb cristisor : > I will try to provide the steps that

Re: Large file processing with Apache Camel

2013-02-21 Thread Maruan Sahyoun
into parts. 1st ensure that you read the data as efficient as possible i.e. verify if there is really an IO issue. 2nd look at how to best get from data lines to xml. Maruan Sahyoun Am 22.02.2013 um 08:26 schrieb cristisor : > I get the OOME when because I send each line to the xml mapper an

Re: Large file processing with Apache Camel

2013-02-21 Thread Maruan Sahyoun
se .split().tokenize("\n", ).streaming() from Camel 2.10 onwards where - is the number of lines you would like to keep together (500 in your case). But this won't help if it's IO so you might want to check that first. Maruan Sahyoun Am 22.02.2013 um 08:09 schrieb cristi

Re: Large file processing with Apache Camel

2013-02-21 Thread Maruan Sahyoun
e, network share … There is a similar sample at http://www.catify.com/2012/07/09/parsing-large-files-with-apache-camel/. You might be able to compare the numbers you get at your system with the numbers provided in the article. Maruan Sahyoun Am 22.02.2013 um 06:21 schrieb cristisor : > Ma

Re: [ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi & Fuse Fabric

2013-01-27 Thread Maruan Sahyoun
for me it worked issuing install https://oss.sonatype.org/content/repositories/snapshots/io/hawt/hawtio-web/1.0-SNAPSHOT/hawtio-web-1.0-20130125.104750-35.war instead of the mvn url With kind regards Maruan Sahyoun Am 27.01.2013 um 19:43 schrieb Christian Müller : > Hi James (and all oth

Re: Route Dependency in XML DSL

2013-01-14 Thread Maruan Sahyoun
Logon' Maruan Sahyoun Am 14.01.2013 um 19:55 schrieb "Gershaw, Geoffrey" : > Thanks for responding. Unfortunately, this doesn't show any XML DSL > example. Is it possible in XML? > > > -----Orig

Re: Route Dependency in XML DSL

2013-01-14 Thread Maruan Sahyoun
Hi, there is a sample how to stop a route from another one - can also be used for starting. https://camel.apache.org/how-can-i-stop-a-route-from-a-route.html Maruan Sahyoun Am 14.01.2013 um 18:59 schrieb "Gershaw, Geoffrey" : > Actually, > > I should clarify, I don'

Re: Apache Karaf and camel-fop

2013-01-03 Thread Maruan Sahyoun
as a quick update - using the latest ServiceMix Bundles I was able to successfully use camel and camel-fop within Karaf. Thanks for fixing the SMX bundles and making that possible. Maruan Am 15.09.2012 um 08:55 schrieb Maruan Sahyoun : > Hi Claus, > > thanks for your reply and y

Re: Apache Karaf and camel-fop

2012-09-26 Thread Maruan Sahyoun
done . see SMX4-1249Today 12:25 With kind regards Maruan Sahyoun Am 26.09.2012 um 12:56 schrieb Babak Vahdat : > > > Am 26.09.12 11:15 schrieb "Maruan Sahyoun" unter : > >> Hi there, >> >> it seems that the META-INF/services entries of fop >>

Re: Apache Karaf and camel-fop

2012-09-26 Thread Maruan Sahyoun
Hi there, it seems that the META-INF/services entries of fop (http://svn.apache.org/viewvc/xmlgraphics/fop/tags/fop-1_0/src/java/META-INF/services/) are missing in the ServiceMix bundle. Is there a way to get these entries in? With kind regards. Maruan Sahyoun

Re: Apache Karaf and camel-fop

2012-09-25 Thread Maruan Sahyoun
quick update on the topic as part of my conversation on the fop mailing list. Q: If I understood you correctly a) fop won't work without modifications in an OSGI environment and b) there is no quick fix to resolve that. Is that correct? A: yes, that's about it. You could combine XGC, Batik and F

Re: Apache Karaf and camel-fop

2012-09-20 Thread Maruan Sahyoun
as a quick update - I asked on the fop mailing list about the state of Apache fop and OSGI before further digging into the issue Maruan

Re: Apache Karaf and camel-fop

2012-09-14 Thread Maruan Sahyoun
Hi Claus, thanks for your reply and your input. I'll try to come up with a solution, maybe a quick workaround to start with, and post my findings. Maruan Sahyoun Am 15.09.2012 um 08:32 schrieb Claus Ibsen : > On Fri, Sep 14, 2012 at 9:41 AM, Maruan Sahyoun > wrote: >&

Re: Apache Karaf and camel-fop

2012-09-14 Thread Maruan Sahyoun
SGi. > > > On Fri, Sep 14, 2012 at 9:32 AM, Maruan Sahyoun > wrote: >> I installed the dependencies via osgi:install from that repository which >> enabled the Camel route to deploy (defined via Blueprint xml). But when I >> tried to submit data I got the error

Re: Apache Karaf and camel-fop

2012-09-14 Thread Maruan Sahyoun
rstand the mechanism fop is using for getting it's renderers it depends on Java class loading. Maruan Am 14.09.2012 um 09:24 schrieb Claus Ibsen: > On Fri, Sep 14, 2012 at 9:19 AM, Maruan Sahyoun > wrote: >> OK - some further testing shows that camel-fop works fine if you run

Re: Apache Karaf and camel-fop

2012-09-14 Thread Maruan Sahyoun
x27;m very glad that I found Camel - nice piece of software and very helpful community. Maruan Sahyoun Am 10.09.2012 um 13:12 schrieb Charles Moulliard: > Hi, > > Have you deployed the bundle of Apache XMLGraphics ? > > Regards, > > Charles > > On Mon, Sep

Re: Apache Karaf and camel-fop

2012-09-10 Thread Maruan Sahyoun
mat. Neither an FOEventHandler, nor a Renderer could be found for this output format. at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361)[72:org.apache.servicemix.bundles.fop:1.0.0.2] Something else missing? With kind regards Maruan Sahyoun Am 10.0

Apache Karaf and camel-fop

2012-09-10 Thread Maruan Sahyoun
Hi, I'm trying to use camel-fop from within Apache Karaf. But I'm getting an error message about a missing class Caused by: java.lang.NoClassDefFoundError: org/apache/xmlgraphics/image/loader/ImageContext Apache Karaf is 2.29 Apache Camel is 2.10.0 (I also tried 2.10.1) features installed are