[ https://issues.apache.org/activemq/browse/SM-774?page=all ]

Ricardo Nobrega closed SM-774.
------------------------------

    Resolution: Won't Fix

Will try to propose a better solution after the Xmas break

> 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

        

Reply via email to