Re: aggregation and completionPredicate

2014-12-07 Thread mailingl...@j-b-s.de
Hi Claus! Sorry but I do not understand. My correlation expression is simply returning the value of key (see class CorrelationExpression below of my initial mail). Debugging I see the first list contains two elements as expected. As soon the correlation key changes camel correctly starts with

Using camel without spring

2014-12-07 Thread yogu13
Hi, I am checking out on the possibility of using camel without spring... I was looking at the examples available on this regard and could only find http://camel.apache.org/servlet-tomcat-no-spring-example.html. The example shown is quite simple which doesnt involve any processor, aggregrator

Re: ftp-component: RemoteFile to a classic File

2014-12-07 Thread Nicolas74
Thanks. That's what I did, and it perflectly works. I have to process some modifications to the file through a java application. So, is it the only way to process my file ? Or is there a more optimized solution without downloading the file ? Best, Nicolas. -- View this message in context:

clearing headers causes infinite redelivery

2014-12-07 Thread Minh Tran
Hi I've run into an issue where my route clears the headers right before a rest call to prevent unintended headers being sent on the request. Something like this. removeHeaders pattern=*/ to uri=http4:blah/ Unfortunately this seems to wipe out the CamelRedeliveryCounter as well. So when an

Re: Using camel without spring

2014-12-07 Thread Willem Jiang
You can define the aggregator and processor just as you do with spring. As Camel has a set of internal modules, which can be unmarshalled from the xml with JAXB, to implement the EPI. We just need to tell  JndiCamelServletContextListener to load these routes xml this time. The route definition

Re: Using camel without spring

2014-12-07 Thread yogu13
Thanks for the quick reply williem! my configuration used is as follows: web.xml web-app xmlns=http://xmlns.jcp.org/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://xmlns.jcp.org/xml/ns/javaee

Re: clearing headers causes infinite redelivery

2014-12-07 Thread Willem Jiang
If you don’t want to expose some camel header as the Http header, you can do it with camel header filter[1][2], in this way, you application logic cannot affect the camel internal logic.

Re: Using camel without spring

2014-12-07 Thread Willem Jiang
OK, I know you point, you need to setup the camel registry for lookup the processor reference. Please take a look at the section of Using custom CamelContextLifecycle[1], there is an example to show you how to setup the registry for processor reference that you may use. I will update the

Re: Using camel without spring

2014-12-07 Thread yogu13
Thanks Williem! I will try this out ... Let me know if you need any help building those examples, probably i can assist you with that. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Using-camel-without-spring-tp5760251p5760267.html Sent from the Camel -

Re: Unexpected behaviour of Camel Simple expression

2014-12-07 Thread welshstew
Thanks Taariq - plenty of ways to skin this camel - which is what is so nice about it. I managed to get what I wanted by using a simple java processor. Cheers, Stu. -- View this message in context:

Re: AW: Camel - Array

2014-12-07 Thread smilevasu6
Hi All, Thank you for support. I am able get the table name and able to load the data into the table. Need one more small help from your end. I am trying for dynamic insertion. where again its not finding the element name. PSB, Router:

AW: AW: Camel - Array

2014-12-07 Thread jhm
java.sql.SQLException: Error while compiling statement: FAILED: SemanticException Line 0:-1 Invalid column reference 'first' Is there a column 'first' in your database? While I am not much database experiences I would miss some values to insert with that sql: insert overwrite table