You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Raul Kripalani <ra...@atosorigin.com> on 2008/04/02 18:46:39 UTC

Using the Validation lwcomponent

Hi everyone,

 

On the following page http://servicemix.apache.org/lightweight-components.html the Validation component has caught my attention. I would be willing to use it within the architecture I am designing. However, I am not sure as to whether ServiceMix supports it anymore due to the fact that servicemix-lwcomponent is deprecated.

 

How can I use the mechanisms that appear on that page? Using the servicemix-bean SE? If so, how exactly do I have to adapt the following syntax to be able to deploy the SU to the servicemix-bean component?

 

<sm:activationSpec componentName="SchemaValidator" service="foo:SchemaValidator" endpoint="SchemaValidator">

    <sm:component>

        <bean class="org.apache.servicemix.components.validation.ValidateComponent">

            <property name="schemaResource" value="classpath:org/apache/servicemix/components/validation/schema.xsd"/>

            <property name="errorHandlerFactory" ref="messageAggregatingErrorHandlerFactory"/>

        </bean>

    </sm:component>

</sm:activationSpec>

 

 

Thank you very much,

 

Raúl. 

 


------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail
in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender does
not warrant that this transmission is virus-free and will not be liable for
any damages resulting from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener informacion
confidencial destinada solamente a la(s) persona(s) mencionadas
anteriormente. Pueden estar protegidos por secreto profesional Si usted
recibe este correo electronico por error, gracias de informar inmediatamente
al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos
Origin no se hace responsable por su contenido. Su contenido no constituye
ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por
ambas partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus
------------------------------------------------------------------