Re: tutorial-osgi-camel-part2 problems during startup

2010-07-15 Thread Charles Moulliard
Hi, Everything works fine now. Please consider to use camel-2.3 with activemq 5.3.2 and Apache ServiceMix (4.2.0) Kind regards, Charles -- View this message in context: http://camel.465427.n5.nabble.com/tutorial-osgi-camel-part2-problems-during-startup-tp478958p1188807.html Sent from the Cam

Re: FTP on MVS filesystem.

2010-07-15 Thread Andreas Asmuss
Hi My last post didn't make much sense. Obviously Camel also does listFiles() when polling the ftp. I've made a basic implementation of what I need to do in Java (which works): public static void main(String[] args) throws SocketException, IOException { FTPClient ftp = n

Re: FTP on MVS filesystem.

2010-07-15 Thread Andreas Asmuss
After getting the 2.4.0 jars I know get this exception: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.net.ftp.FTPClient.setConnectTimeout(I)V at org.apache.camel.component.file.remote.FtpEndpoint.createRemoteFileOperations(FtpEndpoint.java:84) at org.a

Re: FTP on MVS filesystem.

2010-07-15 Thread Claus Ibsen
Hi Thanks for showing the working code. On Thu, Jul 15, 2010 at 11:06 AM, Andreas Asmuss wrote: > > Hi > > My last post didn't make much sense. Obviously Camel also does listFiles() > when polling the ftp. I've made a basic implementation of what I need to do > in Java (which works): > >        

Re: FTP on MVS filesystem.

2010-07-15 Thread Claus Ibsen
On Thu, Jul 15, 2010 at 11:36 AM, Andreas Asmuss wrote: > > After getting the 2.4.0 jars I know get this exception: > Are you sure you got the correct .jars of Commons Net? You need 2.0 jars. See those with -> compile [INFO] The following files have been resolved: [INFO]aopalliance:aopallia

Re: FTP on MVS filesystem.

2010-07-15 Thread Andreas Asmuss
I got it running on Camel 2.4.0 and commons net 2.0 now but it still doesn't work. No matter which combination of / and with or without '' it doesn't find anything on the poll. 2010-07-15 14:54:47,672 DEBUG [Camel Thread 0 - ftp://10.0.0.1//'DATA.OUT.EDI'] [org.apache.camel.impl.ScheduledPollCons

Re: FTP on MVS filesystem.

2010-07-15 Thread Claus Ibsen
Hi Thanks for testing it. I have created a ticket about this issue https://issues.apache.org/activemq/browse/CAMEL-2952 On Thu, Jul 15, 2010 at 3:10 PM, Andreas Asmuss wrote: > > I got it running on Camel 2.4.0 and commons net 2.0 now but it still doesn't > work. No matter which combination of

Re: FTP on MVS filesystem.

2010-07-15 Thread Andreas Asmuss
Hi Claus I just tried stepping through both my Camel version and Java version and got to the same conclusion. That you need to do a cd in order to have the files visible :-) I suppose I can work around this using a custom FTPClient that does the cd on login and then don't send any directory as p

Re: FTP on MVS filesystem.

2010-07-15 Thread Claus Ibsen
Hi You can most likely use a custom processStrategy and let it cd to the starting directory in the begin method. See more here: http://camel.apache.org/file2.html On Thu, Jul 15, 2010 at 4:11 PM, Andreas Asmuss wrote: > > Hi Claus > > I just tried stepping through both my Camel version and Ja

Re: tutorial-osgi-camel-part2 problems during startup

2010-07-15 Thread Michael Van
I was running into the same problem about 6 months ago, and directed my developers to skip it entirely. We're using JMS to send info between bundles, and only using camel internally inside of bundles. Respectfully Submitted, -- View this message in context: http://camel.465427.n5.nabble.com/t

Stopping and removing a route programmatically

2010-07-15 Thread gnanda1
Hi All, I have created a temporary route reading messages from a queue. I created it programtically by using camelContext.addRoutes(builder); camelContext.startRoute(id); where builder -> is my routebuilder definition id-> is routeid of the route I would like stop and remove this route program

[ANNOUNCE] Apache Camel 2.4.0 Release

2010-07-15 Thread Hadrian Zbarcea
The Apache Camel project [1] celebrates the new 2.4.0 release [2]. This release comes a bit earlier than the usual once a quarter release, but the quantity and quality of the issues resolved surely prompted it, most notably the async support, osgi related improvements and the move to spring 3.0.

Re: Custom LoadBalancer?

2010-07-15 Thread davsclaus
See this link about the need to be a subscriber http://camel.apache.org/discussion-forums.html Yes a custom LB is possible. See chapter 8 (section 8.4) in the Camel in Action book. -- View this message in context: http://camel.465427.n5.nabble.com/Custom-LoadBalancer-tp1223847p1223905.html S