[ https://issues.apache.org/jira/browse/CAMEL-3565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984219#action_12984219 ]
Claus Ibsen commented on CAMEL-3565: ------------------------------------ Yeah I dont think there is any uses cases where you want property values that either start or end with spaces. I think we should trim the value. I do think we use the properties API from the JDK to load it, so its kinda a flaw / missing feature in the JDK. And its common for some guys to space around the = sign in properties file > When Camel loads properties Camel should remove spaces (trim) from the end of > the line. > --------------------------------------------------------------------------------------- > > Key: CAMEL-3565 > URL: https://issues.apache.org/jira/browse/CAMEL-3565 > Project: Camel > Issue Type: Improvement > Affects Versions: 2.5.0 > Reporter: Andreas Asmuss > Priority: Minor > Fix For: 2.6.0 > > > If Camel reads a property from a properties-file that has a space at the end > of a line like: > some.property = theValue <--- > Camel will resolve "theValue " and then crash at route creation. Should be > "theValue". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.