You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Anthony <an...@rmb.co.za> on 2007/01/24 07:46:05 UTC

BinaryFileMarshaler error in file poller (Service Assembly)...

please help guys!
what am i doing wrong (i'm doing this the xbean.xml way to create an SA with
SU's)?

XBEAN.XML:
<beans xmlns:sm="http://servicemix.apache.org/config/1.0"
       xmlns:rmb="http://www.rmb.co.za"
       xmlns:eip="http://servicemix.apache.org/eip/1.0"
	   xmlns:file="http://servicemix.apache.org/file/1.0">

<file:poller service="rmb:filePoller"
             endpoint="poller"
             targetService="rmb:filePollerRecipients"
             file="file://C:/temp/pollerFiles"
			 period="1000">
	<marshaler><sm:binaryFileMarshaler/></marshaler>
</file:poller>

</beans>


ERROR:
Failed properties: Failed to convert property value of type
[org.apache.servicemix.components.util.BinaryFileMarshaler] to required type
[org.apache.servicemix.components.util.FileMarshaler] for property
'marshaler'; nested exception is java.lang.IllegalArgumentException: No
matching editors or conversion strategy found


can anybody please provide me with an example xbean.xml service assembly
that works and which uses a file poller to poll a directory and that can
accept any binary info in the files it polls (non-xml)?


please guys, i'm getting desperate here!

many thanks!!!
-- 
View this message in context: http://www.nabble.com/BinaryFileMarshaler-error-in-file-poller-%28Service-Assembly%29...-tf3079466s12049.html#a8555767
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.