is there a convert type for spring xml or simple

2017-08-09 Thread GaryLeeMills
I'm on camel 2.15 I am using parameter file - ./etc/parameterFile.cfg inside I have a key=value pair - groupBy=10 in my camel context I am pulling in the parameter, however, it is a string. I need to convert it to int. is there such a utility? thank you, I am using it for the tokenize token

Re: How to handle many-ftp endpoints

2017-08-09 Thread Owain McGuire
We have accomplished this with the Routebuilder. http://camel.apache.org/routebuilder.html Had all the ftp endpoints, cron/quartz details stored in a DB and generated the routes dynamically. > On 9 Aug 2017, at 09:45, Christian Stark

How to handle many-ftp endpoints

2017-08-09 Thread Christian Stark
Hi All, Given the following scenario: We have many many (>1000) ftp endpoints both inbound and outbound. Best would be to configure (create,update, delete) those FTP-Endpoints in a Database-Table (with all its properties) else it is quite difficult to still have an overview. Once an Endpoint got

Re: How to handle many-ftp endpoints

2017-08-09 Thread Christian Stark
Thanks a lot. Do you have some examples as a start, else we will continue with the docu. Best regards Christian 2017-08-09 11:06 GMT+02:00 Owain McGuire : > We have accomplished this with the Routebuilder. http://camel.apache.org/ > routebuilder.html

RE: [EXTERNAL] is there a convert type for spring xml or simple

2017-08-09 Thread Vanshul . Chawla
Set a header with that property and provide ResultType as java.lang.Integer Vanshul -Original Message- From: GaryLeeMills [mailto:gary.l.mi...@ge.com] Sent: Wednesday, August 09, 2017 12:45 PM To: users@camel.apache.org Subject: [EXTERNAL] is there a convert type for spring xml or

RE: [EXTERNAL] is there a convert type for spring xml or simple

2017-08-09 Thread GaryLeeMills
thanks Vanshul, but I really do not want to use the headers for this. I'm hoping there is a way to convert type in Spring XML. ??? -- View this message in context: http://camel.465427.n5.nabble.com/is-there-a-convert-type-for-spring-xml-or-simple-tp5810142p5810160.html Sent from the Camel -

Re: is there a convert type for spring xml or simple

2017-08-09 Thread Doug Douglass
On Wed, Aug 9, 2017 at 10:44 AM, GaryLeeMills wrote: > > Caused by: org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: > '{{groupBy}}' is not a valid value for 'integer'. > Based on this error message, I don't think your problem is type conversion. Instead, I think the

Re: is there a convert type for spring xml or simple

2017-08-09 Thread Claus Ibsen
Hi See the documentation http://camel.apache.org/using-propertyplaceholder.html in the section: Using Property Placeholders for Any Kind of Attribute in the XML DSL On Wed, Aug 9, 2017 at 7:44 PM, GaryLeeMills wrote: > I'm on camel 2.15 > I am using parameter file -