activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhuvi <kbh...@gmail.com>
Subject BeanCreationException
Date Fri, 18 Aug 2006 09:38:40 GMT

hi all
       
      i created a simple file polling component and tried running that in
servicemix.
     all the files in the directory which i specified are getting polled but
still i get the following exception.


Caught: org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'org.apache.servicemix.jbi.container.ActivationSpec' defined
in f
ile
[E:\apache-servicemix-3.0-M2-incubating\examples\PollingFtpFile\servicemix.x
ml]: Error setting property values; nested exception is
org.springframework.bean
s.NotWritablePropertyException: Invalid property 'type' of bean class
[org.apach
e.servicemix.jbi.container.ActivationSpec]: Bean property 'type' is not
writable
 or has an invalid setter method. Does the parameter type of the setter
match th
e return type of the getter?


my servicemix.xml has the following lines.


<sm:activationSpecs>

<sm:activationSpec componentName="PollFtpFiles" 
				service="foo:ReadFiles" type="com.PollFiles.PollFtpFiles">
				<sm:component>
				     <bean id="readfiles" class="com.PollFiles.PollFtpFiles">
                             </bean>
				</sm:component>

</sm:activationSpec>

</sm:activationSpecs>

 is there something to do with type specified for activationSpec?

-- 
View this message in context: http://www.nabble.com/BeanCreationException-tf2126292.html#a5866696
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message