how to realize quality of service in camel

2011-06-01 Thread ltomuno
when the system is busy, to ensure the core system is available

Re: Unit test camel with activeMQ

2011-06-01 Thread hbellat
I followed some examples in camel-jms package but still have problem. I wrote my camel.xml beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://camel.apache.org/schema/spring

Re: how to realize quality of service in camel

2011-06-01 Thread Hadrian Zbarcea
In a few ways, depending on your load profile. A couple of ideas are to use the throttler to slow traffic down, another idea is to load balance across multiple endpoints. There are others. Obviously you have to plan for it. Hadrian On Jun 1, 2011, at 5:20 AM, ltomuno wrote: when the system

Inflight and pending exchange in a route during shutdown

2011-06-01 Thread Xavier Coulon
Hello, I'm having an issue with the File Component in my test case. Running a test from within Eclipse works fine, running the exact same test with Maven fails because of a timeout I set on the test method. On the Eclipse side, during the route with a file endpoint is shutdown with the following

Re: Reading a pdf file in camel

2011-06-01 Thread Christian Schneider
The file component can read pdfs but it won´t interpret them. So you would have to work with the bindary data. Are you interested in extracting the text of the document are do you want to just process the pdf as is? Christian Am 01.06.2011 17:17, schrieb sumatheja: Hi, I'm a newbie to

Re: Reading a pdf file in camel

2011-06-01 Thread Claus Straube
Hi, I haven't done it yet - but I would try it. Should be a thing of 5 minutes ;) http://camel.apache.org/file2.html Best regards - Claus On 01.06.2011 17:17, sumatheja wrote: Hi, I'm a newbie to camel. Want to know if the file component in camel can read a pdf? if not is there a way to

Re: Reading a pdf file in camel

2011-06-01 Thread sumatheja
Thanks for the response.. my requirement is to read the data in the pdf. Is that possible? -- View this message in context: http://camel.465427.n5.nabble.com/Reading-a-pdf-file-in-camel-tp4445535p4445597.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Reading a pdf file in camel

2011-06-01 Thread mitko . kolev
Maybe you should take a look at pdfbox http://pdfbox.apache.org/ From: sumatheja sumath...@gmail.com To: users@camel.apache.org Date: 01.06.2011 17:39 Subject: Re: Reading a pdf file in camel Thanks for the response.. my requirement is to read the data in the pdf. Is that possible?

Re: Reading a pdf file in camel

2011-06-01 Thread Christian Schneider
Yes and there is already an issue open to create a component for it: https://issues.apache.org/jira/browse/CAMEL-3552 It the mean time it is the easiest way to create a custom processor and call pdfbox from there. Christian Am 01.06.2011 17:40, schrieb mitko.ko...@icw.de: Maybe you should

Re: Is Camel allow Routes do their processing in isolated way or not ?

2011-06-01 Thread Ashwin Karpe
Hi, The answer is that failure to instantiate one route has no implication on ability to instantiate another route. Hope this helps. Cheers, Ashwin... - - Ashwin Karpe Apache Camel Committer Sr Principal Consultant FUSESource (a

Re: Reading a pdf file in camel

2011-06-01 Thread sumatheja
I was about to try that out. Anyways thanks for the response. -- View this message in context: http://camel.465427.n5.nabble.com/Reading-a-pdf-file-in-camel-tp4445535p4445650.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Is Camel allow Routes do their processing in isolated way or not ?

2011-06-01 Thread Claus Ibsen
No thats wrong. Camel has a fail fast principle. So when it startup it validates the routes. And in case one route is misconfigured it report this and fails to start. On Wed, Jun 1, 2011 at 5:44 PM, Ashwin Karpe aka...@fusesource.com wrote: Hi, The answer is that failure to instantiate one

Second error handed by continued(true) doesn't work

2011-06-01 Thread Nowakowski, Mateusz
Hi, I have such a flow: onException(Throwable.class) .handled(false) .process(logError(com.sabre.sws.ping.v2, SWSO_Ping Camel Process Failed)) .process(logEnd(Level.ERROR, com.sabre.sws.ping.v2, Camel processing has ended with error));

Re: Error Producing to HTTP

2011-06-01 Thread davsclaus
Can you double check that all your Camel JARs are the same version. It seems you have mixed versions of Camel. - Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action:

Re: File consumer scaling

2011-06-01 Thread davsclaus
I posted a blog about that a long time ago. But can't find it :) Basically you can add a threads(20) etc after from(file) to use a thread pool of 20 concurrent threads to process the files. There are some details here http://camel.apache.org/async - Claus Ibsen - FuseSource

Re: Inflight and pending exchange in a route during shutdown

2011-06-01 Thread Claus Ibsen
On Wed, Jun 1, 2011 at 5:01 PM, Xavier Coulon xcou...@gmail.com wrote: Hello, I'm having an issue with the File Component in my test case. Running a test from within Eclipse works fine, running the exact same test with Maven fails because of a timeout I set on the test method. What do you

Re: async send with preserved order

2011-06-01 Thread Claus Ibsen
Are you sure you want preserved order on the sender side? In essence to do that you may have to use a thread pool of 1, so the tasks are processed in sequence. I would assume the JDK in fact does grab the taks by order by default as the thread pool executor uses a queue for the tasks (FIFO). On

Re: camel src distribution old releases

2011-06-01 Thread Claus Ibsen
See the download archive http://camel.apache.org/download-archives.html There is links in the top for the old releases. On Wed, Jun 1, 2011 at 6:40 PM, Javier Arias Losada javier.ari...@gmail.com wrote: hi all, i need to get apache camel 2.2.0 src code, but the file is not available

Re: how to realize quality of service in camel

2011-06-01 Thread Ashwin Karpe
Hi, You could set up a heartbeat route and send periodic trace messages (scheduled via camel-quartz) that can be sent to a listener via the main route or a secondary route (for context uptime verification), thereby ensuring that your context and/or routes are up. Of course, JMX does much of this

Re: date functions/URL params for http endpoint

2011-06-01 Thread ist-olga
I tried to use dynamicRouter, but still there is a problem: we want from uri to be dynamic, but if we use from uri=direct:start/ dynamicRouter method ref=hotTransfer-uop-endpoint method=route/ /dynamicRouter to uri=log:newuophottransferxml/ There is no log record

Re: Second error handed by continued(true) doesn't work

2011-06-01 Thread Ashwin Karpe
Hi, JBI flows/endpoints use an NMR for communication between the components, and the NMR in JBI by default is a SEDA (java.util.concurrent.BlockingQueue) based implementation. Is your JBI endpoint a Binding Component that sends the exchange on a JBI based workflow? Is your JBI flow up and

Re: camel src distribution old releases

2011-06-01 Thread Claus Ibsen
I said the top of thst link i posted On Wednesday, June 1, 2011, Javier Arias Losada javier.ari...@gmail.com wrote: thanx claus, but it did not work. were you suggest is where i tried for the first time: I go to: http://camel.apache.org/camel-220-release.html and 'Source Distributions' and

Re: date functions/URL params for http endpoint

2011-06-01 Thread ist-olga
We use cron, that's why we won't have this problem: from uri=quartz://hotTransfer-uop-quartz?cron=0+*+*+*+*+?/ dynamicRouter method ref=hotTransfer-uop-endpoint method=route/ /dynamicRouter to uri=log:newuophottransferxml/ But I was wondering if

Re: camel src distribution old releases

2011-06-01 Thread Hadrian Zbarcea
Hi Javier, Mirrors only keep current releases. Old releases are in the archives. Claus provided you with the link [1]. At the top of the page there is a link to All release since Camel became a top level Apache project [2] (note the archive.apache.org domain that is not mirrored). From there

Re: camel src distribution old releases

2011-06-01 Thread Claus Ibsen
On Wednesday, June 1, 2011, Claus Ibsen claus.ib...@gmail.com wrote: I said the top of thst link i posted Sorry if that sound sour. By typing on my iphone is not my strong skills On Wednesday, June 1, 2011, Javier Arias Losada javier.ari...@gmail.com wrote: thanx claus, but it did not

Re: Inflight and pending exchange in a route during shutdown

2011-06-01 Thread Xavier Coulon
Hello, Ok, I realize than my previous post was very vague, so i'll try to give more context information: The test class extends Spring 3's AbstractJUnit4SpringContextTests. The test method is annotated with @Test, @DirtiesContext and @Timed(millis=2). This latter annotation can set the test

Re: async send with preserved order

2011-06-01 Thread Jim Newsham
Hi Claus, Yeah I mentioned the single-threaded executor in my initial email, as the only way I know to make that work, and also pointed out the undesirable performance impact this approach has. I would really like for all messages to be sent out in order without waiting for the result of

setting http timeout doesn't work

2011-06-01 Thread ist-olga
When setting timeouts as the following: bean id=http class=org.apache.camel.component.http.HttpComponent property name=camelContext ref=camel / property name=httpConnectionManager ref=myhttpConnectionManager / /bean bean id=myhttpConnectionManager

Is there a pipeline example with src in camel?

2011-06-01 Thread ltomuno
the official website http://camel.apache.org/pipes-and-filters.html where is the src? and the org.apache.camel.example.docs.PipelineRoute has no config where is the config file? camel 2.7.1

Camel email and SSL

2011-06-01 Thread Bharat Goyal
I am trying to pull an imaps mailbox (over SSL) from within my application (deployed within tomcat). What SSL configuration do I need and how do I do it? Do I need to install the certificate somewhere? I do have a certificate that I can import in my keystore. Does the email task have to use

Re: Is there a pipeline example with src in camel?

2011-06-01 Thread Hadrian Zbarcea
The source for what? Here are a few useful links: http://camel.apache.org/maven/current/camel-core/apidocs/ (check the o.a.c.model and o.a.c.processor packages for definitions and implementations of EIPs) http://camel.apache.org/contributing.html (useful stuff, including where to find the

Re:Re: Is there a pipeline example with src in camel?

2011-06-01 Thread ltomuno
route from uri=activemq:SomeQueue/ pipeline bean ref=foo/ bean ref=bar/ to uri=activemq:OutputQueue/ /pipeline /routeI wan't to know the foo class detail, extends what class or implements what interfacethank you At 2011-06-02 11:10:21,Willem Jiang willem.ji...@gmail.com