Sorry, i mean org.servicemix.jbi.messaging.DefaultMarshaler -- Guillaume
On 4/19/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote: > Have you tried org.servicemix.jbi.message.DefaultMarshaler instead ? > > Cheers, > Guillaume Nodet > > On 4/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > I need to read a text file with large content and move it to an different > > directory, Iam new to servicemix and need some tips / help as to which > > class to use. The current example uses an xml file. > > > > When I tried using the DefaultMarshaler class with text content file, It > > throws java.lang.ClassNotFoundException: > > org.servicemix.client.DefaultMarshaler error. > > > > > > Thanks > > Mat > > <sm:activationSpec componentName="fileSender" > > service="foo:fileSender"> > > <sm:component> > > <bean > > xmlns="http://xbean.org/schemas/spring/1.0" > > class="org.servicemix.components.file.FileWriter"> > > <property name="directory" > > value="outbox" /> > > <property > > name="marshaler"> > > <bean > > class=" > > org.servicemix.client.DefaultMarshaler"> > > <property > > name="fileName"> > > <bean > > class="org.servicemix.expression.JaxenStringXPathExpression"> > > <constructor-arg > > value="concat('sample_', /sample/@id, '.xml')" /> > > </bean> > > </property> > > </bean> > > </property> > > </bean> > > </sm:component> > > </sm:activationSpec> > > >
