Re: anonymous FTP login fails

2010-09-20 Thread Claus Ibsen
Hi Thanks for reporting. I have fixed it https://issues.apache.org/activemq/browse/CAMEL-3137 On Mon, Sep 20, 2010 at 8:37 AM, preben wrote: > > Hi > > Seems that there is a bug if you try to use ftp component with anonymous > login eg. > from("ftp://myftphost/myfolder";).to("file://target/tran

Re: anonymous FTP login fails

2010-09-20 Thread preben
Super !! -- View this message in context: http://camel.465427.n5.nabble.com/anonymous-FTP-login-fails-tp2846235p2846269.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: $headername = 'value still works?

2010-09-20 Thread Claus Ibsen
On Sun, Sep 19, 2010 at 5:59 PM, Illtud Daniel wrote: > On 19/09/10 07:40, Claus Ibsen wrote: > >> And could you double check that there is no old versions of camel in >> the classpath? >> And the data you send is valid XML > > Ah. That's the problem. Since I wasn't using xpath to actually > searc

Re: choose() question

2010-09-20 Thread Norman Maurer
I think it should be Exchange.ROUTE_STOP. Bye, Norman 2010/9/16 Claus Ibsen : > You can use an interceptor and then stop() when to abort. > > Or you can set the Exchange.STOP property on the Exchange from a > Processor to tell it to stop > > > On Thu, Sep 16, 2010 at 7:04 PM, Donald Whytock wro

Re: $headername = 'value still works?

2010-09-20 Thread Illtud Daniel
Thanks Claus, you've been very helpful Claus Ibsen wrote: On Sun, Sep 19, 2010 at 5:59 PM, Illtud Daniel wrote: Since the Content-Based Router EIP documents using for content-based routing swiching on header values, does this mean you can only do this if the content is XML? Seems odd to me

Re: XMPP + Smack

2010-09-20 Thread Donald Whytock
The body's coming through. Just no headers or properties. My next step was going to be to try the smack library directly, to make sure it's doing its job. If it is I can have a look at the component. On Sun, Sep 19, 2010 at 2:38 AM, Claus Ibsen wrote: > On Sat, Sep 18, 2010 at 9:58 AM, Donald

Re: FTP creating connections for every file name in the uri

2010-09-20 Thread Marco Crivellaro
Is there a chance you change the way FTP connections are created? In the case you are producing many files for always the same FTP endpoint you are forced to set the disconnect=true which is leading to client application to "connect, deploy, disconnect" each time which is not ideal. -- View this

An camel's exception in osgi

2010-09-20 Thread Bingliu
Hello,when i used camel in osgi, an exception has be throwed at some time. - 2010 九月 20 22:48:51 5391 INFO [SpringOsgiExtenderThread-1] org.apache.camel.spring.handler.CamelNamespaceHandler - camel-osgi.j

Re: Camel calling commit too early when using split+seda+file endpoint

2010-09-20 Thread camel_el
Sorry for the late reply, but I had the chance to try out your latest version of 2.5.0 this morning and I can confirm that your fix worked. Thanks! :) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-calling-commit-too-early-when-using-split-seda-file-endpoint-tp28308

UuidGenerator performance issue

2010-09-20 Thread camel_el
Hi, my system is generating a lot of exchanges (many concurrent threads), so many that creating an exchange becomes a bottleneck. An exchangeId is created by the UuidGenerator class, which is using java.security.SecureRandom. SecureRandom then calls its secureRandomSpi: UuidGenerator.generat

Re: UuidGenerator performance issue

2010-09-20 Thread Christian Müller
You can provider your down UUIDGenerator implementation. I will provide a more detailed answer when I'm at home. Christian Am 20.09.2010 19:05 schrieb "camel_el" : Hi, my system is generating a lot of exchanges (many concurrent threads), so many that creating an exchange becomes a bottleneck.

Re: XMPP + Smack

2010-09-20 Thread Donald Whytock
Using Smack 3.1.0, both standalone and with Camel. Smack supplies >From and To values, Body and packet type (message vs. info/query vs. presence). Camel gives me Body and that's about it. I would expect to see the From and To set in the exchange.getIn().getHeaders(). In Camel I don't see non-me

Re: UuidGenerator performance issue

2010-09-20 Thread Christian Müller
Hello camel_el! I think the page [1] contains all information you need. Starting with Camel 2.5, you can provide your own implementation of UuidGenerator. [1] http://camel.apache.org/uuidgenerator.html Regards, Christian On Mon, Sep 20, 2010 at 8:49 PM, Christian Müller < christian.muel...@gmai

Re: An camel's exception in osgi

2010-09-20 Thread Willem Jiang
Hi, Did you install the camel-spring-osgi bundle if you are using camel 2.3.0? BTW, please make sure you don't install the camel-osgi and camel-spring bundle. Willem On 9/20/10 11:28 PM, Bingliu wrote: Hello,when i used camel in osgi, an exception has be throwed at some time. --

Re: An camel's exception in osgi

2010-09-20 Thread Bingliu
Hi,Willem When i use camel in osgi, i import three camel's jar as plugin. Include:camel-core.jar,camel-spring.jar,camel-spring-osgi.jar. The exception does't offen appear.Sometime the runtime environment can start succesful,but sometime it can't. What is cause of the exception -- View this messag

Re: UuidGenerator performance issue

2010-09-20 Thread Claus Ibsen
Hi Can you try as suggested by Christian to use the ActiveMQ based UUID generator. And if possible can you post some details about the performance gain you see? We should consider switching the default uuid generator in Camel back to the AMQ based if its much faster. The JDK UUID based is used wh

Re: An camel's exception in osgi

2010-09-20 Thread Willem Jiang
On 9/21/10 12:06 PM, Bingliu wrote: Hi,Willem When i use camel in osgi, i import three camel's jar as plugin. Include:camel-core.jar,camel-spring.jar,camel-spring-osgi.jar. The exception does't offen appear.Sometime the runtime environment can start succesful,but sometime it can't. What is cause

Re: XMPP + Smack

2010-09-20 Thread Claus Ibsen
On Mon, Sep 20, 2010 at 9:03 PM, Donald Whytock wrote: > Using Smack 3.1.0, both standalone and with Camel.  Smack supplies > From and To values, Body and packet type (message vs. info/query vs. > presence).  Camel gives me Body and that's about it. > > I would expect to see the From and To set in

Re: UuidGenerator performance issue

2010-09-20 Thread Claus Ibsen
Hi I created a ticket to switch to use the AMQ as the default uuid generator as its much faster. https://issues.apache.org/activemq/browse/CAMEL-3139 On Tue, Sep 21, 2010 at 8:05 AM, Claus Ibsen wrote: > Hi > > Can you try as suggested by Christian to use the ActiveMQ based UUID > generator.