You need to use the plain spring syntax and intanciate your component
using spring instead of a custom schema (unless you use servicemix
archetype, in which case maven should have generated a schema for
you):

  <sm:activationSpec>
    <bean class="foo.bar.Mycomponent />
  </sm:activationSpec>

On 10/1/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Sorry for the confusion,
>
> I want to know how to include my own component in the servicemix.xml. As
> you can use, for example, the saxon component using :
>
> <beans xmlns:sm="http://servicemix.apache.org/config/1.0";
>        xmlns:saxon="http://servicemix.apache.org/saxon/1.0";>
>
>   <sm:container ...>
>     <sm:activationSpecs>
>       <sm:activationSpec>
>         <sm:component>
>           <saxon:component>
>             <saxon:endpoints>
>
>               ... add saxon endpoints here ...
>
>             </saxon:endpoints>
>           </saxon:component>
>         </sm:component>
>       </sm:activationSpec>
>       ...
>     </sm:activationSpecs>
>   </sm:container>
>   ...
>
> </beans>
>
> Thanks for answers


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to