Re: message losing headers

2010-10-02 Thread Claus Ibsen
Read the FAQ http://camel.apache.org/why-do-my-message-lose-its-headers-during-routing.html On Fri, Oct 1, 2010 at 9:46 PM, Mark Webb wrote: > I am passing a message through a series of Processors and in the > course of this processing I am setting header information in the > Message objects.  I

Re: message not getting delivered

2010-10-02 Thread Claus Ibsen
See this FAQ http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html On Fri, Oct 1, 2010 at 10:37 PM, Mark Webb wrote: > I am sending messages through a Camel route in ActiveMQ.  My message > reaches the end of the processing chain, and at the last processor I > call exchange.setOu

Re: How to change directory while using sftp component

2010-10-02 Thread Claus Ibsen
Hi Loririn I think you/we have to step back. We have other users in the past running with SFTP with no problems at all. Also fetching files recursively. So I wonder if we should revert back and keep the old logic! 1) Is this the first time you use camel-ftp? 2) What OS and FTP server are you usi

[SFTP TEST] - Help test the SFTP (also FTP if you like) component due changes in Camel 2.5

2010-10-02 Thread Claus Ibsen
Hi We had some reports about some FTP servers not being able to download files if you refer to the files using paths. So we changed the logic to use a pattern where Camel will cd the path(s) first and then issue the download. The problem seems to be related to SFTP but if you use FTP then you are

Would support for a limit on the number of exchanges be a good idea?

2010-10-02 Thread Tarjei Huse
Hi, I've started using groovy + camel for doing various small batch jobs like moving a set of messages from one jms queue to another, and I have a usecase I think would be nice to have covered within the DSL if possible: An option to shutdown the route (and possibly the context) if a spesific num

Re: Would support for a limit on the number of exchanges be a good idea?

2010-10-02 Thread Claus Ibsen
On Sat, Oct 2, 2010 at 12:15 PM, Tarjei Huse wrote: >  Hi, I've started using groovy + camel for doing various small batch > jobs like moving a set of messages from one jms queue to another, and I > have a usecase I think would be nice to have covered within the DSL if > possible: > > An option to

Re: publishedEndpointUrl for cxf:cxfEndpoint

2010-10-02 Thread Willem Jiang
On 10/2/10 1:33 PM, Scott Christopher wrote: On 02/10/2010, at 1:18 AM, Ashwin Karpe wrote: Not sure why setting the address attribute in the spring.xml file does not change the address for you since that is the value that overrides the WSDL address... I know that it works!!! My apologies, th

Re: publishedEndpointUrl for cxf:cxfEndpoint

2010-10-02 Thread Scott Christopher
On 02/10/2010, at 9:05 PM, Willem Jiang wrote: > On 10/2/10 1:33 PM, Scott Christopher wrote: >> On 02/10/2010, at 1:18 AM, Ashwin Karpe wrote: >> >>> Not sure why setting the address attribute in the spring.xml file does not >>> change the address for you since that is the value that overrides t

Re: publishedEndpointUrl for cxf:cxfEndpoint

2010-10-02 Thread Willem Jiang
Hi Scott, I just checked the schema of cxfEndpoint, it doesn't support the publishedEndpointUrl. I filled a JIRA[1] for it. [1]https://issues.apache.org/activemq/browse/CAMEL-3190 On 10/2/10 8:33 PM, Scott Christopher wrote: On 02/10/2010, at 9:05 PM, Willem Jiang wrote: On 10/2/10 1:33 PM

Re: Using Asynchronous Processors -- a little help

2010-10-02 Thread Seth Call
HI Ashwin, I will try using replyTo. I will say, though, I have successfully used JMS routes in the past that look like what I had there (with no replyTo), and the response of the consuming end would be routed back as a response. But it was synchronous (I was using direct: for the initial produc

Re: Using Asynchronous Processors -- a little help

2010-10-02 Thread Claus Ibsen
See these pages http://camel.apache.org/asynchronous-routing-engine.html http://camel.apache.org/asynchronous-processing.html The SEDA component will most likely be improved in Camel 3.0 to leverage the async routing engine to the fullest. We opted to not change it during 2.x as it would break cur

Re: How to change directory while using sftp component

2010-10-02 Thread Claus Ibsen
On Sat, Oct 2, 2010 at 9:14 AM, Claus Ibsen wrote: > Hi Loririn > > I think you/we have to step back. We have other users in the past > running with SFTP with no problems at all. Also fetching files > recursively. > So I wonder if we should revert back and keep the old logic! Btw this didn't come

Re: How to change directory while using sftp component

2010-10-02 Thread Claus Ibsen
Hi I will try to reproduce the issue with the help of Apache SSHD as simulating the SFTP server. It's not like a real server but it may help and in the future catch regression bugs. I got the first simple test up and running by uploading a file. On Sat, Oct 2, 2010 at 4:50 PM, Claus Ibsen wrot

Re: Using Asynchronous Processors -- a little help

2010-10-02 Thread Ashwin Karpe
Oops, my bad. In case, there is no replyTo and there is an outgoing message in the exchange, a temporary queue is used by ActiveMQ to propagate the response. So in my earlier response point (2) is not entirely accurate. However point (3) is accurate. Please check out my attached samples and the

Re: Using Asynchronous Processors -- a little help

2010-10-02 Thread Seth Call
Claus! I totally missed the Async Engine page and the list of 'supported components'. I'll try out 2.5 snapshot to see if I can get JMS to work. I see you've already done the hard work of making JMS work https://issues.apache.org/activemq/browse/CAMEL-2970 And Ashwin, thanks for the continued

Re: Using Asynchronous Processors -- a little help

2010-10-02 Thread Seth Call
Thanks so much Claus, Ashwin, and the folks in IRC over the past 2 days. It works with 2.5! The code I used is below. I put this up on my blog for others, as well. Route and Inline Consumer // whenever message is sent to a.test, our AsyncProcessor defined here will fire from("jms:queue:a.t