FTP disconnect problem

2015-04-17 Thread Nick Bryan
I'm playing around with the ftp component but have a problem with the disconnect option. It's defined as follows .from("ftp://host:21/distribution?Username=user &Password=pass &fileName=file.dtd &passiveMode=true &delay=600s &maximumReconnectAttempts=3 &reconnectDelay=5000 &useFixedDelay=false &

RE: FTP disconnect problem

2015-04-17 Thread Nick Bryan
Thanks Claus, given that a try but it still doesn't cause a disconnect. Added the sendEmptyMessageWhenIdle option and chained a .choice() to only save non null messages but I get the same result. Using 2.15.1 Nick

Camel 3.14.5 Windows/Linux Type Converter Problems

2022-10-06 Thread Nick Bryan
Hi, I'm running with Java 8 (1.8.0_152 on windows 10 and OpenJDK 1.8.0_342 on Ubuntu 22). I have a very simple route which takes files and puts them on a queue (activemq). from(dataPath) .log("Processing ${file:name}") .convertBodyTo(String.class)

RE: Choice in a route template

2022-10-10 Thread Nick Bryan
I have used a dynamic router (https://camel.apache.org/components/3.18.x/eips/dynamicRouter-eip.html) for this with rules loaded from a properties file. A check on when the file was last modified told the router to update itself. Each line of the properties file is your next route e.g. bar=dir

RE: Camel 3.14.5 Windows/Linux Type Converter Problems

2022-10-10 Thread Nick Bryan
about this. https://camel.apache.org/manual/camel-maven-plugin.html#_camelprepare_fatjar On Thu, Oct 6, 2022 at 3:26 PM Nick Bryan wrote: > Hi, > I'm running with Java 8 (1.8.0_152 on windows 10 and OpenJDK 1.8.0_342 > on Ubuntu 22). > > I have a very simple route which takes

spring-ws component 2.15.2

2015-05-14 Thread Nick Bryan
Hi, Trying to use spring-ws as a web service client and set up the following very simple route based on the component doc public void configure() { String dataRequest = "" + " London" + " England" + ""; ProducerTemplate template = getContext().creat