Thanks Guillaume,

That works just fine for tracer. When I attempt to use FileWriter component,
deployment fails with message:

'Could not deploy xbean service unit'.
Property 'marshaler' mentioned below in exception flow stack.

The following is my servicemix.xml:

  <sm:serviceunit id="jbi"> 
    <sm:activationSpecs> 

      <sm:activationSpec componentName="fileSender"
                         service="hb:fileSender">
        <sm:component>
          <bean class="org.apache.servicemix.components.file.FileWriter">
            <property name="directory" value="outbox" />
            <property name="marshaler">
              <bean
class="org.apache.servicemix.components.util.DefaultFileMarshaler">
                <property name="fileName">
                  <bean
class="org.apache.servicemix.expression.JaxenStringXPathExpression">
                    <constructor-arg value="concat('sample_', /sample/@id,
'.xml')" />
                  </bean>
                </property>
              </bean>
            </property>
          </bean>
        </sm:component>
      </sm:activationSpec>

    </sm:activationSpecs> 
  </sm:serviceunit> 

  <bean id="workManager"
    class="org.jencks.factory.WorkManagerFactoryBean">
    <property name="threadPoolSize" value="30" />
  </bean>

Help me please with that issue.

Best regards, Maxim Tebenev.

-- 
View this message in context: 
http://www.nabble.com/No-endpoints-found-error-tf2861287s12049.html#a7997214
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to