Re: Adding a startup listener via spring

2011-04-15 Thread Claus Ibsen
In Spring XML you should be able to use the depends-on attribute to say that your bean depends on Camel. On Fri, Apr 15, 2011 at 8:15 PM, thelonesquirrely wrote: > Ok after thinking about this i def thought of a tolerable way...kinda a > workaround but eh - > > if you have the same situatio

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

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: xmpp://troutw...@jabber.org/br...@

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: and some bean: And then the java code to support this all? UpdateMgr: public class UpdateMgr implements StartupListener { …

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 well.

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.

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: D:\Data\eclipse-ws\cam

Re: Camel release 2.8

2011-04-15 Thread Claus Ibsen
On Fri, Apr 15, 2011 at 4:42 PM, bvahdat 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 trunk on my box

Re: Using File Component on Readonly Directory

2011-04-15 Thread Claus Ibsen
On Fri, Apr 15, 2011 at 4:33 PM, harryw 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 createRouteBuilder method t

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: 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,

Using File Component on Readonly Directory

2011-04-15 Thread harryw
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 createRouteBuilder method to create an instance of a simple File-Processor-File rout

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 wi

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

Re: Camel release 2.8

2011-04-15 Thread Claus Ibsen
On Fri, Apr 15, 2011 at 1:37 PM, bvahdat 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 get OSGi Blueprint for C

Re: FTP over Proxy

2011-04-15 Thread davsclaus
If you found a bug in Apache commons Net, then I suggest to report to them and provide the patch. There has been a Commons Net 2.2 release. And Camel will by default use 2.0. So we are considering upgrading. - Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://

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:

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: 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 clie

RE: reusable onexceptions

2011-04-15 Thread Kris De Schutter
Hi Claus, Yes, I'm talking about . 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: vrijdag 15 april

Re: reusable onexceptions

2011-04-15 Thread Claus Ibsen
Hi Do you mean the ? 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 wrote: > Hello all, > > New subscriber here, so if I'm asking a silly question don't hesitate

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 ren

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 do