On 5/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi Bruce,

I tried implementing the DefaultFileMarshaller. The file compiles well.
When I try to integrate that to servicemix.xml using the following
configration. It throws an error.

<!--Flat File converter components-->

<sm:activationSpec componentName="flatfileConverter"
service="foo:flatFile">

   <sm:component>
              <bean class="FFConverter">
                <property name="schema_file" value="rbc.rfl" />
                <property name="flat_file" value="rbc_push_small" />
                <property name="xml_file" value="output.xml" />
              </bean>
    </sm:component>

</sm:activationSpec>

<!--Flat File converter Component -->


Error

orkManager]; root of BeanFactory hierarchy}
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'jbi' defined in file
[C:\servicemix-2.0.2\examples\file-binding\
servicemix.xml]: Initialization of bean failed; nested exception is
java.lang.Il
legalArgumentException: Component name: flatfileConverter is bound to an
object
which is not a JBI component, it is of type: FFConverter

Based on the error, it would appear that an interface was not
implemented or some requirement of JBI components has not been met.
Please post the Java class so that I can fully understand what is
happening.

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/

Reply via email to