Re: Camel-Mail - Consume from IMAP with variable searchTerm.fromSentDate

2016-10-05 Thread Michael Täschner
Hi Again, is there a possibility that the searchTerm bean reference picked up by camel-mail can update it's internal state to allow for a changing sentDate for the query? Thanks and Best Regards, Michael 2016-09-23 16:21 GMT+02:00 Michael Täschner : > Hi Camel-Riders, > > is there a possibility

Re: Splitting a Body and losting old informations

2016-10-05 Thread retatu
Hi, I resolved my problem with script XSL... But thanks -- View this message in context: http://camel.465427.n5.nabble.com/Splitting-a-Body-and-losting-old-informations-tp5788271p5788404.html Sent from the Camel - Users mailing list archive at Nabble.com.

Swagger validation with camel-swagger

2016-10-05 Thread idioma
Hi, I have been experimenting with: https://github.com/apache/camel/tree/master/examples/camel-example-swagger-xml as I would like to define my rest endpoints with Camel Rest DSL and generate my swagger API doc with camel-swagger-java. As per https://issues.apache.org/jira/browse/CAMEL-10164, I

JDBC for Big queries brings evrithing into memory

2016-10-05 Thread alex.popescu
Hi, I am trying to use JDBC to run some big queires. I used stream list and read size block, however does not seem do the job. ... The code never acutally reaches the streaming part, it fails during run of the query. In my scenario I can see that about about 1.000.000 records are retrieved i

Re: Camel Rest example

2016-10-05 Thread DariusX
There are a few ways to do it. For starters, you could look at the components: camel-http, or camel-http4 or camel-ahc. A simple test class: -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Rest-example-tp5788384p5788401.html

RE: Reference to a version "3.0.1" in metrics doc, and classloader leaks

2016-10-05 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, October 05, 2016 8:36 AM > To: users@camel.apache.org > Subject: RE: Reference to a version "3.0.1" in metrics doc, and > classloader leaks > > > -Original Message- > > From: KARR, DAVID > > Sent: Wednesday, October 05, 20

RE: Reference to a version "3.0.1" in metrics doc, and classloader leaks

2016-10-05 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, October 05, 2016 8:14 AM > To: users@camel.apache.org > Subject: Reference to a version "3.0.1" in metrics doc, and classloader > leaks > > I noticed on http://camel.apache.org/metrics-component.html the > following text: > --

Re: Access header in camel route

2016-10-05 Thread Brad Johnson
@axdz To amplify what Jonas said, you don't need to use a Processor. Just use a regular Pojo. public class MyHandler { public void modify(@Headers Map headers) { headers.put("filedname", "value"); } } On Wed, Oct 5, 2016 at 6:25 AM, Jonas Koperdraat wrote: > I be

RE: Access header in camel route

2016-10-05 Thread Steve Huston
I believe for the "to" routing, it's plain text... if you want to use a header value you need to use dynamic to: http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html http://www.davsclaus.com/2015/10/apache-camel-216-released-top-10.html -Steve > -Original Message- > From: koperdr

Reference to a version "3.0.1" in metrics doc, and classloader leaks

2016-10-05 Thread KARR, DAVID
I noticed on http://camel.apache.org/metrics-component.html the following text: MetricRegistry uses internal thread(s) for reporting. There is no public API in version 3.0.1 for users to clean up on exit. Thus using Camel Metrics Component leads to Java classloader leak and my ca

Re: Problem with Camel 2.17.3 and Karaf 3.0.8

2016-10-05 Thread Matt Sicker
The Karaf feature. Run "feature:install web" before installing camel-http. On 5 October 2016 at 02:50, michael.esmann wrote: > Thank you for the reply. > > But I am not quite sure: What is the "web" feature exactly? > > /Michael > > > > -- > View this message in context: http://camel.465427.n5.n

File Expression Language & date format

2016-10-05 Thread alexey-s
Do you think that a complete rejection of the parameters "idempotent" corrects errors? https://issues.apache.org/jira/browse/CAMEL-6574 https://issues.apache.org/jira/browse/CAMEL-6936 Enjoying http://camel.apache.org/file2.html idempotentKey=${file:name}-${file:size} Good. Enjoying http://camel.

How to get detailed information about the shutdown reason?

2016-10-05 Thread habdank
Dears, I am using Camel 2.17. I had defined some routes, these routes contain entries to log: .to ("log:org.apache.camel?level=DEBUG") In the logback configuration I had placed: The camel context xml file contains: When I am starting Camel, then I see Camel is proceeding and finally withou

Re: Access header in camel route

2016-10-05 Thread Jonas Koperdraat
I believe the right way to access a header is either by using ${header.fieldname} or by using the @Header annotation. See http://camel.apache.org/simple.html and http://camel.apache.org/parameter-binding-annotations.html for references. Regards, Jonas On Wed, Oct 5, 2016 at 9:31 AM, axdz wrote

Camel Rest example

2016-10-05 Thread Gunjara
HI anybody plz provide a gitlink for Camel Rest example which consumes public url(like weather service) and get json data and keep that data into some file. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Rest-example-tp5788384.html Sent from the Camel - Users mailing

Access header in camel route

2016-10-05 Thread axdz
Hi all, I config a route in xml file * * and here i MyProcessor class * public class MyProcessor implements Processor { public void process(Exchange exchan

RE: camel-ahc response body after exception

2016-10-05 Thread Siano, Stephan
Hi, There are different options to achieve this. You can either set the throwExceptionOnFailure option to false. Then you will have access to the response payload if the server sends one, but you might have to evaluate the HTTP response code by yourself. Alternatively you can create an onExcep

RE: Add component options to camel-ahc component

2016-10-05 Thread Siano, Stephan
Hi, I am not sure whether I understand your question correctly. https://example.com/v1/hello?apiKey=a&throwExceptionOnFailure=false will set the throwExceptionOnFailure endpoint option to false (and forward the apiKey parameter to the server). Component options are set on the component lev

Re: Problem with Camel 2.17.3 and Karaf 3.0.8

2016-10-05 Thread michael.esmann
Thank you for the reply. But I am not quite sure: What is the "web" feature exactly? /Michael -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-Camel-2-17-3-and-Karaf-3-0-8-tp5788341p5788374.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem with Camel 2.17.3 and Karaf 3.0.8

2016-10-05 Thread michael.esmann
Thank you for the reply. But I am not quite sure: What is the "web" feature exactly? /Michael -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-Camel-2-17-3-and-Karaf-3-0-8-tp5788341p5788373.html Sent from the Camel - Users mailing list archive at Nabble.com.