Hello,

I have an endpoint defined as:

<to id="file.to.data-decrypted"
     
uri="file://{{jboss.server.data.dir}}?idempotent=true&amp;preMove={{jboss.server.data.dir}}/holding/${file:onlyname.noext}.${id}&amp;move={{jboss.server.data.dir}}/archive&amp;moveFailed={{jboss.server.data.dir}}/errors&amp;readLock=changed"/>


Which throws this exception:

Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
Invalid bean definition with name 'file.to.data-decrypted' defined in
null: Could not resolve placeholder 'id'
        at 
org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209)
        at 
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:220)

I am quite sure, previously, I was able to use "${id}" in the filename
expression and it was not interpreted as a Spring property
placeholder,
and I didn't reconfigure the opening/closing tokens for property
placeholders.  Anyone have a clue?

Thanks,


Chris

Reply via email to