[jira] [Updated] (CAMEL-11523) JasyptPropertiesParser fails on properties references with default value

2017-09-06 Thread Claus Ibsen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-11523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-11523:

Fix Version/s: 2.19.3
   2.20.0
   2.18.5

> JasyptPropertiesParser fails on properties references with default value
> 
>
> Key: CAMEL-11523
> URL: https://issues.apache.org/jira/browse/CAMEL-11523
> Project: Camel
>  Issue Type: Bug
>  Components: camel-jasypt
>Affects Versions: 2.17.7, 2.19.1
>Reporter: Ronny Aerts
>Assignee: Claus Ibsen
>Priority: Minor
> Fix For: 2.18.5, 2.20.0, 2.19.3
>
> Attachments: jasypt.rar
>
>
> I'm using the JasyptPropertiesParser in combination with the 
> BridgePropertyPlaceholderConfigurer to able to encrypt properties by adding 
> the parser property.
>  
> 
>  class="org.apache.camel.component.jasypt.JasyptPropertiesParser" 
> depends-on="InitializeProperties">
> value="#{IP.getPassword()}"/>
> value="PBEWITHSHA1ANDRC4_128"/>
> 
>  
> This works fine but when I have a 
> "tris.dlq.folder.process.history:c:/temp/TrisESB" property with a default 
> value in my xml route, the route creating fails with error:
> Caused by: java.lang.IllegalArgumentException: PropertiesComponent with name 
> properties must be defined in CamelContext to support property placeholders. 
> Property with key [tris.dlq.folder.process.history:c:/temp/TrisESB] not found 
> in properties from text: 
> file://{{tris.dlq.folder.process.history:c:/temp/TrisESB}}?fileName=$simple{header.breadcrumbId}-prochist.htm
> My log also mentions the parsing of the property.
> [TRACE] [org.apache.camel.component.jasypt.JasyptPropertiesParser] Parsing 
> property 'tris.dlq.folder.process.history:c:/temp/TrisESB=null'
> It seems that the JasyptPropertiesParser can't handle default properties.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAMEL-11523) JasyptPropertiesParser fails on properties references with default value

2017-09-05 Thread Claus Ibsen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-11523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-11523:

Priority: Minor  (was: Major)

> JasyptPropertiesParser fails on properties references with default value
> 
>
> Key: CAMEL-11523
> URL: https://issues.apache.org/jira/browse/CAMEL-11523
> Project: Camel
>  Issue Type: Bug
>  Components: camel-jasypt
>Affects Versions: 2.17.7, 2.19.1
>Reporter: Ronny Aerts
>Priority: Minor
> Attachments: jasypt.rar
>
>
> I'm using the JasyptPropertiesParser in combination with the 
> BridgePropertyPlaceholderConfigurer to able to encrypt properties by adding 
> the parser property.
>  
> 
>  class="org.apache.camel.component.jasypt.JasyptPropertiesParser" 
> depends-on="InitializeProperties">
> value="#{IP.getPassword()}"/>
> value="PBEWITHSHA1ANDRC4_128"/>
> 
>  
> This works fine but when I have a 
> "tris.dlq.folder.process.history:c:/temp/TrisESB" property with a default 
> value in my xml route, the route creating fails with error:
> Caused by: java.lang.IllegalArgumentException: PropertiesComponent with name 
> properties must be defined in CamelContext to support property placeholders. 
> Property with key [tris.dlq.folder.process.history:c:/temp/TrisESB] not found 
> in properties from text: 
> file://{{tris.dlq.folder.process.history:c:/temp/TrisESB}}?fileName=$simple{header.breadcrumbId}-prochist.htm
> My log also mentions the parsing of the property.
> [TRACE] [org.apache.camel.component.jasypt.JasyptPropertiesParser] Parsing 
> property 'tris.dlq.folder.process.history:c:/temp/TrisESB=null'
> It seems that the JasyptPropertiesParser can't handle default properties.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAMEL-11523) JasyptPropertiesParser fails on properties references with default value

2017-08-01 Thread Ronny Aerts (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-11523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ronny Aerts updated CAMEL-11523:

Attachment: jasypt.rar

> JasyptPropertiesParser fails on properties references with default value
> 
>
> Key: CAMEL-11523
> URL: https://issues.apache.org/jira/browse/CAMEL-11523
> Project: Camel
>  Issue Type: Bug
>  Components: camel-jasypt
>Affects Versions: 2.17.7, 2.19.1
>Reporter: Ronny Aerts
> Attachments: jasypt.rar
>
>
> I'm using the JasyptPropertiesParser in combination with the 
> BridgePropertyPlaceholderConfigurer to able to encrypt properties by adding 
> the parser property.
>  
> 
>  class="org.apache.camel.component.jasypt.JasyptPropertiesParser" 
> depends-on="InitializeProperties">
> value="#{IP.getPassword()}"/>
> value="PBEWITHSHA1ANDRC4_128"/>
> 
>  
> This works fine but when I have a 
> "tris.dlq.folder.process.history:c:/temp/TrisESB" property with a default 
> value in my xml route, the route creating fails with error:
> Caused by: java.lang.IllegalArgumentException: PropertiesComponent with name 
> properties must be defined in CamelContext to support property placeholders. 
> Property with key [tris.dlq.folder.process.history:c:/temp/TrisESB] not found 
> in properties from text: 
> file://{{tris.dlq.folder.process.history:c:/temp/TrisESB}}?fileName=$simple{header.breadcrumbId}-prochist.htm
> My log also mentions the parsing of the property.
> [TRACE] [org.apache.camel.component.jasypt.JasyptPropertiesParser] Parsing 
> property 'tris.dlq.folder.process.history:c:/temp/TrisESB=null'
> It seems that the JasyptPropertiesParser can't handle default properties.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAMEL-11523) JasyptPropertiesParser fails on properties references with default value

2017-07-07 Thread Ronny Aerts (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-11523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ronny Aerts updated CAMEL-11523:

Environment: (was: I'm using the JasyptPropertiesParser in combination 
with the BridgePropertyPlaceholderConfigurer to able to encrypt properties by 
adding the parser property.
 


   
   

 
This works fine but when I have a 
"tris.dlq.folder.process.history:c:/temp/TrisESB" property with a default value 
in my xml route, the route creating fails with error:
Caused by: java.lang.IllegalArgumentException: PropertiesComponent with name 
properties must be defined in CamelContext to support property placeholders. 
Property with key [tris.dlq.folder.process.history:c:/temp/TrisESB] not found 
in properties from text: 
file://{{tris.dlq.folder.process.history:c:/temp/TrisESB}}?fileName=$simple{header.breadcrumbId}-prochist.htm

My log also mentions the parsing of the property.
[TRACE] [org.apache.camel.component.jasypt.JasyptPropertiesParser] Parsing 
property 'tris.dlq.folder.process.history:c:/temp/TrisESB=null'

It seems that the JasyptPropertiesParser can't handle default properties.
)

> JasyptPropertiesParser fails on properties references with default value
> 
>
> Key: CAMEL-11523
> URL: https://issues.apache.org/jira/browse/CAMEL-11523
> Project: Camel
>  Issue Type: Bug
>  Components: camel-jasypt
>Affects Versions: 2.17.7, 2.19.1
>Reporter: Ronny Aerts
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)