reusable onexceptions

2011-04-15 Thread Kris De Schutter
Hello all, New subscriber here, so if I'm asking a silly question don't hesitate to let me know. I did a search through the docs, but I didn't really find my answer there. The question is simple: I can reuse route definitions by putting them in a route context and then referring to them. Can I

Re: SFTP camelExclusiveReadLock race condition

2011-04-15 Thread Claus Ibsen
Hi Is the FTP server running on Windows 2003, or is it where Camel runs? A good strategy is of course to write using a temporary name, and then at the end do a move/rename. Then the consumer should just avoid trying to poll the temporary files. Camel with the rename strategy is using the rename

Re: reusable onexceptions

2011-04-15 Thread Claus Ibsen
Hi Do you mean the routeContext ? Yeah we should enhance it so you can define interceptors, on exception and the likes as well. Fell free to create a JIRA Ticket. On Fri, Apr 15, 2011 at 9:29 AM, Kris De Schutter kris.deschut...@certipost.com wrote: Hello all, New subscriber here, so if I'm

RE: reusable onexceptions

2011-04-15 Thread Kris De Schutter
Hi Claus, Yes, I'm talking about routeContext. I created the JIRA ticket. You can find it here: https://issues.apache.org/jira/browse/CAMEL-3870 Thanks for considering this! Kind regards, Kris De Schutter -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent:

Re: SFTP camelExclusiveReadLock race condition

2011-04-15 Thread Patrick Daly
Hi Claus Both SFTP and camel are running on windows 2003. Doing a check on the file timestamp did cross our minds. So I believe we would be implementing a new strategy. But I think we will probably try and convince our client to change their upload process as this works great for our other

Camel release 2.8

2011-04-15 Thread bvahdat
Hi, is there any time plan for the 2.8 release when it's gone be out there? Thanks, Babak -- View this message in context: http://camel.465427.n5.nabble.com/Camel-release-2-8-tp4305340p4305340.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to set up a schedule for the ftp?

2011-04-15 Thread davsclaus
You can use a scheduled route policy which works with quartz and cron expressions. http://camel.apache.org/scheduledroutepolicy.html That basically tells Camel when the route is online - Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter:

Re: Camel release 2.8

2011-04-15 Thread Claus Ibsen
On Fri, Apr 15, 2011 at 1:37 PM, bvahdat babak.vah...@swissonline.ch wrote: Hi, is there any time plan for the 2.8 release when it's gone be out there? There is no fixed ETA. And since Camel 2.7.1 just went out, that may buy as a bit more time for the Camel 2.8 release. For example we should

Re: communication between camel-instances

2011-04-15 Thread Christoph Burmeister
OK, I found a bit of time to get along with this problem. I tried to create a kind of heartbeat-bean but finally my solution is, that everytime the second camel gets a message from 3rd-party-application, the message is routed through a load-balancer with failover-option, while on the first camel I

Re: Camel Unit Testing with Spring.

2011-04-15 Thread Naira Kobo
Hi, Thanks for your response. However, in my camel-context, I referenced a class which is part of the same project. but it kept throwing excpetion: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [mycompany.generic_soap_provider_bridge.ServiceClient] for bean

Re: Camel Unit Testing with Spring.

2011-04-15 Thread Claus Straube
Hi, you should double check, if there's (class=mycompany.generic_soap_provider_bridge.ServiceClient) no typo inside your context. If the class is in your classpath, Spring will find it. Best regards - Claus On 15.04.2011 16:29, Naira Kobo wrote: Hi, Thanks for your response. However, in

Re: Camel release 2.8

2011-04-15 Thread bvahdat
Hi Claus, Are there anything from 2.8 you need ASAP? not really, we're already riding on 2.7.1. and that's all good for the moment. Still got another question: since weeks while running mvn test on the checked out trunk on my box, it fails by the tests of Camel :: Test component like:

Re: Using File Component on Readonly Directory

2011-04-15 Thread Claus Ibsen
On Fri, Apr 15, 2011 at 4:33 PM, harryw haroldv...@gmail.com wrote: Greetings everyone. I am new to Camel so bear with me... Is there a proper way to configure a file component on a read-only directory? I have a unit test using the CamelTestSupport class (Camel 2.7) which uses the

Re: Camel release 2.8

2011-04-15 Thread Claus Ibsen
On Fri, Apr 15, 2011 at 4:42 PM, bvahdat babak.vah...@swissonline.ch wrote: Hi Claus, Are there anything from 2.8 you need ASAP? not really, we're already riding on 2.7.1. and that's all good for the moment. Still got another question: since weeks while running mvn test on the checked out

Re: Camel release 2.8

2011-04-15 Thread bvahdat
Hi Claus, If I would run only the tests of camel-test that would work for me as well but doing mvn test from the trunk directory (D:\Data\eclipse-ws\camel-trunk) would bring me to the effect mentioned, that would be /workspace/camel-git in your case. My box setup is:

Re: Using File Component on Readonly Directory

2011-04-15 Thread harryw
Worked great. Thank you Claus! -- View this message in context: http://camel.465427.n5.nabble.com/Using-File-Component-on-Readonly-Directory-tp4305703p4306029.html Sent from the Camel - Users mailing list archive at Nabble.com.

Adding a startup listener via spring

2011-04-15 Thread thelonesquirrely
Hello, The problem I am having involves starting a thread _after_ the context has fully started. The thread makes some calls to some routes, and if they aren't started i get some exceptions. To get around this now, I simply delay the start of the thread (Major hack) - and everything goes

Re: Adding a startup listener via spring

2011-04-15 Thread thelonesquirrely
Ok after thinking about this i def thought of a tolerable way...kinda a workaround but eh - if you have the same situation you can flip the dependency: camel:camelContext id=camelContext / and some bean: bean id=updater class=some.class.that.impls.StartupListener property

Passive xmpp connections

2011-04-15 Thread Brian Troutwine
Hello, all. I understand from the XMPP documentation[1] how to actively create a connection with another XMPP user. For instance, if I run a bot whose JID is troutw...@jabber.org and I wish to establish a connection with br...@jabber.org I use this endpoint:

Re: Passive xmpp connections

2011-04-15 Thread Stan Lewis
Hi Brian, When you set up a route with an xmpp component as a consumer (i.e. in the from of a route) the xmpp component will log in as that user, messages sent to that consumer will then be processed by that route. You can still log in as a producer from another route to produce messages as well.