[ https://issues.apache.org/activemq/browse/SM-774?page=comments#action_37675 ] Guillaume Nodet commented on SM-774: ------------------------------------
Could you please close this issue if you find a better way to do that ? > afterPropertiesSet in JAXPXPathExpression is callable only once > --------------------------------------------------------------- > > Key: SM-774 > URL: https://issues.apache.org/activemq/browse/SM-774 > Project: ServiceMix > Issue Type: Improvement > Components: servicemix-core > Reporter: Ricardo Nobrega > Priority: Minor > > There is no way to change the xpath after afterPropertiesSet is called, which > is > needed, for example, if the xpath is stored in a table, and injected after > the bean is > created. Suggestion: replace > public void setXPath(String xpath) { > this.xpath = xpath; > } > with > public void setXPath(String xpath) { > this.xpath = xpath; > this.xPathExpression = null; > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira