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

2011-06-01 Thread ltomuno
I 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" wrote: >Just one more comments, >Even you don't use the piple dsl to chain the endpoint together. >Camel is always using the Pipeline p

Re: async send with preserved order

2011-06-01 Thread Willem Jiang
Hi Jim, I think you may consider to use the resequencer on your FIFO endpoint side. If you just want to speed up the sending processor. [1]http://camel.apache.org/resequencer.html Willem On 6/2/11 5:22 AM, Jim Newsham wrote: Hi Claus, Yeah I mentioned the single-threaded executor in my in

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

2011-06-01 Thread Willem Jiang
Just one more comments, Even you don't use the piple dsl to chain the endpoint together. Camel is always using the Pipeline processor to under earth :) On 6/2/11 10:44 AM, Hadrian Zbarcea wrote: The source for what? Here are a few useful links: http://camel.apache.org/maven/current/camel-core/a

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 camel

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 so

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

setting http timeout doesn't work

2011-06-01 Thread ist-olga
When setting timeouts as the following: soTimeout and connectionTimout are not reflected in httpClient: DEBUG MultiThreadedHttpConnectionManager.getConnectionWithTimeout - HttpConnectionManager.getConnection: config = HostConfiguration[host

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 ea

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 t

Re: camel src distribution old releases

2011-06-01 Thread Claus Ibsen
On Wednesday, June 1, 2011, Claus Ibsen 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 > wrote: >> thanx claus, but it did not work. >> >> were you suggest is where i tri

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: 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: But I was wondering if not using cron how can we use dynamic uri if it is inside http://camel.465427.n5.nabble.com/date-functions-URL-params-for-http-endpoint-tp4442873p4445925.html Sent fro

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 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 the files are not

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 running

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 There is no log record of the response of hotTransfer-uop-endpoint, because I think direct:start creates an empty message, but we need response from dynami

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: camel src distribution old releases

2011-06-01 Thread Javier Arias Losada
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 the files are not available, I tried different mirrors, without success. maybe a svn checkout? It is not described into h

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 wrote: > hi all, > i need to get apache camel 2.2.0 src code, but the file is not available > http://www.apache.org/dyn

camel src distribution old releases

2011-06-01 Thread Javier Arias Losada
hi all, i need to get apache camel 2.2.0 src code, but the file is not available http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.2.0/apache-camel-2.2.0-src.tar.gz is there any way I can get the code of camel 2.2.0 or other old releases? thanx in advance. best regards. javier arias.

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 th

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 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 mean by timeo

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 E

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: h

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 erro

Re: Reading a pdf file in camel

2011-06-01 Thread Claus Straube
To do this with camel today you need a processor (if you don't want to wait for the implementation ;). It should work with something like this: from("file:///my-pdfs?noop=true&fileName=hello.pdf").process(new Processor() { public void process(Exchange exchange) throws Exc

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 wrote: > Hi, > > The answer is that failure to instantiate one route has no implica

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 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 Pro

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 t

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 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? -- View this message

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 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 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

Reading a pdf file in camel

2011-06-01 Thread sumatheja
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 read a pdf using camel?? Any help will be much appreciated. Thanks in advance. -- View this message in context: http://camel.465427.n5.nabble.com/Reading-a-pdf-file-in-camel-tp4

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: 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

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 http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/ca

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: date functions/URL params for http endpoint

2011-06-01 Thread Claus Ibsen
On Wed, Jun 1, 2011 at 7:41 AM, Bharat Goyal wrote: > Thanks Claus. Would you be able to provide some snippet code as an e.g. > > We are using spring config. > > I believe you are referring to this? > > http://camel.apache.org/recipientlist-annotation.html > That is possible as well. If you like