Ok solved this finally..must have had one too many beers when working on
this..a bit too obvious.

 final CamelContext camelContext = getContext();
  final org.apache.camel.impl.SimpleRegistry registry = new
org.apache.camel.impl.SimpleRegistry();
  final org.apache.camel.impl.CompositeRegistry compositeRegistry = new
org.apache.camel.impl.CompositeRegistry(); 

That part should be in the configure method and not in the class variable
declaration part.



--
View this message in context: 
http://camel.465427.n5.nabble.com/FTP-polling-strategy-fails-tp5784133p5784173.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to