activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhuvi <>
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
     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
bean with name 'org.apache.servicemix.jbi.container.ActivationSpec' defined
in f
ml]: Error setting property values; nested exception is
s.NotWritablePropertyException: Invalid property 'type' of bean class
e.servicemix.jbi.container.ActivationSpec]: Bean property 'type' is not
 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:activationSpec componentName="PollFtpFiles" 
				service="foo:ReadFiles" type="com.PollFiles.PollFtpFiles">
				     <bean id="readfiles" class="com.PollFiles.PollFtpFiles">



 is there something to do with type specified for activationSpec?

View this message in context:
Sent from the ActiveMQ - User forum at

View raw message