You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/07/07 18:16:00 UTC
[jira] Resolved: (SM-1425) Property 'property' not found when
xmlns="http://www.springframework.org/schema/beans" is defined
[ https://issues.apache.org/activemq/browse/SM-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SM-1425.
---------------------------------
Assignee: Guillaume Nodet
Resolution: Fixed
Sending pom.xml
Transmitting file data .
Committed revision 674536.
Sending pom.xml
Transmitting file data .
Committed revision 674537.
> Property 'property' not found when xmlns="http://www.springframework.org/schema/beans" is defined
> -------------------------------------------------------------------------------------------------
>
> Key: SM-1425
> URL: https://issues.apache.org/activemq/browse/SM-1425
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-core
> Affects Versions: 3.2.1
> Reporter: Gert Vanthienen
> Assignee: Guillaume Nodet
> Fix For: 3.2.2, 3.3
>
>
> With this xbean.xml file...
> {code:xml}
> <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
> xmlns:sm="http://servicemix.apache.org/config/1.0"
> xmlns:order="urn:my:ns:order"
> xmlns="http://www.springframework.org/schema/beans">
>
> <ftp:poller service="order:partner1" endpoint="ftp" ... >
> <property name="marshaler">
> <sm:defaultFileMarshaler encoding="ISO-8859-1"/>
> </property>
> </ftp:poller>
> </beans>
> {code}
> ... you get this exception
> {noformat}
> org.springframework.beans.NotWritablePropertyException: Invalid property 'property' of bean class [org.apache.servicemix.ftp.FtpPollerEndpoint]: Bean property 'property' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter
> {noformat}
> Apparently, it is looking for a property named 'property' on the FtpPollerEndpoint instead of setting the 'marshaler' property as you would expect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.