Re: set jms reply to in message header

2011-05-24 Thread Willem Jiang
Apache Camel will have a regular release per quarter. I think Camel 2.8.0 will be released in a month. Now we don't have exactly release data for it. On 5/25/11 6:10 AM, Jim Newsham wrote: Hi Willem, Thanks a lot for making a quick fix of that. Is there a proposed release date for Camel 2.8.

Re: Camel Activator OSGI

2011-05-24 Thread Willem Jiang
On 5/24/11 11:13 PM, jguion wrote: Hello, I am developing an OSGI bundle runs a Camel route. When I start my bundle from the Apache Karaf console, I realized that it is calling apache.camel.impl.osgi.Activator as its activator even though in the Manifest file it says the activator is my Activato

Aggregator completeOnShutdown?

2011-05-24 Thread Steve Lewis
I'm searching for a way to configure the Aggregator EIP (http://camel.apache.org/aggregator2.html) with a "Flush when a Camel shutdown is requested" behavior, for an aggregator that does not use a aggregationRepository. Has anyone else tried to do this? I was considering looking for a way to buil

Non-trivial integration using a FTP server

2011-05-24 Thread Maurizio Branca
Hi, I am dealing with an bi-directional integration with and external using a FTP server. Our customer already have in place some non-trivial rules for what usually is handled with a 'done file' in Camel. A plain simple 20110001_DATAFILE (2MB CSV file) when published on the FTP server becomes:

Re: set jms reply to in message header

2011-05-24 Thread Jim Newsham
Hi Willem, Thanks a lot for making a quick fix of that. Is there a proposed release date for Camel 2.8.0 yet? Regards, Jim On 5/23/2011 11:13 PM, Willem Jiang wrote: Hi, I created a JIRA[1] for this issue, and also committed quick fix for it. It should be part of Camel 2.8.0, and you can

Re: Camel 2.7.1 graceful termination.

2011-05-24 Thread Ashwin Karpe
Hi Ioannis, I am sorry I have not had a chance to look at your use-case. I will look at it in the next day or two. In the meantime, Can you go ahead and add a Jira issue against thisŠ Cheers, AshwinŠ Ashwin Karpe Apache Camel Committer

Re: @XPath for an Integer

2011-05-24 Thread boday
Stu, I see the issue, the value is evaluated to Double.NaN and then the type converter further converts it to a primitive int (which defaults to 0, instead of null). I logged this JIRA to check for Double.NaN and return null instead of 0...https://issues.apache.org/jira/browse/CAMEL-4011 Stu.C w

Re: FTP2 Component fails to process multiple files at once

2011-05-24 Thread Taariq San
Hmmm, I tried to simulate it too but didn't manage in the short time, maybe somebody who knows the component well figures it out or explains the behavior. The test doesn't need a public server, and you can change the endpoint to anything you like. It just makes it easier to see if there's someth

Unit test fails after updating to 2.7.1. Cannot use xquery expression after xpath

2011-05-24 Thread l_tsall
Hi, After updating from version 2.5.0 to 2.7.1the following unit test throws Caused by: java.lang.ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to net.sf.saxon.om.DocumentInfo I cannot use xquery(neither @XQuery in beans) after xpath expression //works in 2.5.0 public

Re: @XPath for an Integer

2011-05-24 Thread boday
Stu, to your first question, I did this in 2.8 recently...see this JIRA https://issues.apache.org/jira/browse/CAMEL-3911. To your second question, I see your point...I'll look into it Stu.C wrote: > > Two questions really; > a) should I have to explicitly set the resultType, rather than it be

Re: FTP2 Component fails to process multiple files at once

2011-05-24 Thread Laurentiu Trica
Hello, I added a bug on JIRA: https://issues.apache.org/jira/browse/CAMEL-4010 I think the problem only occurs when the path to FTP includes a folder - this means your files are not on the root of the FTP account. On Tue, May 24, 2011 at 1:32 PM, Laurentiu Trica < laurentiu.tr...@finalfolder.biz

Camel Activator OSGI

2011-05-24 Thread jguion
Hello, I am developing an OSGI bundle runs a Camel route. When I start my bundle from the Apache Karaf console, I realized that it is calling apache.camel.impl.osgi.Activator as its activator even though in the Manifest file it says the activator is my Activator class that implements org.osgi.fram

@XPath for an Integer

2011-05-24 Thread Stu.C
In Camel 2.6.0, I have a bean method that (amongst other things) takes an Integer value from the source message. The element containing the Integer value may or may not exist within the source document. If I define the method like this; public boolean validate(@XPath(value = "//CropYear/text()") I

camelContext autoStartup=false does not prevent Camel from starting when Spring context starts

2011-05-24 Thread Alexey Vinogradov
The result I want to achieve is to start Camel context only after Spring context.start() completes. The solution with using camelContext autoStartup=false described http://camel.apache.org/configuring-route-startup-ordering-and-autostartup.html works with Camel 2.4.0 but fails to work with Camel 2

Re: FTP2 Component fails to process multiple files at once

2011-05-24 Thread Laurentiu Trica
Hi, The problem is not that concurrent FTP components are accessing the same files. The problem is that the one FTP component which handles the files from the FTP account is not doing it in separate connections. And this is a bad thing to do in a very delicate folder based environment like a FTP a

Re: set jms reply to in message header

2011-05-24 Thread Willem Jiang
Hi, I created a JIRA[1] for this issue, and also committed quick fix for it. It should be part of Camel 2.8.0, and you can using header name "camelJmsReplyTo" to set the jms replyTo property. [1]https://issues.apache.org/jira/browse/CAMEL-4008 On 5/24/11 12:47 PM, Willem Jiang wrote: I can r