You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by jousby <jo...@gmail.com> on 2010/02/07 13:32:26 UTC
Deploying a POJO Component as a service unit
Hi,
The 'MySender' class example on this page is the type of component im trying
to build ->
http://servicemix.apache.org/pojo-support.html
however the activation / configuration in this example is done through the
'servicemix.xml' file.
<sm:activationSpec componentName="sender" service="foo:sender"
destinationService="foo:receiver">
<sm:component>
<bean class="org.apache.servicemix.components.pojo.MySender"/>
</sm:component>
</sm:activationSpec>
Imagine the use case where you already have a running servicemix instance
though and are unable to edit the 'servicemix.xml' file.
Does anyone have an example of how you would configure /activate this
component in a service unit that could be deployed to a running servicemix
instance. Im assuming that this would be done in the xbeans.xml file
providing similiar information to the <sm:activationSpec> entry above.
Cheers,
James
--
View this message in context: http://old.nabble.com/Deploying-a-POJO-Component-as-a-service-unit-tp27488185p27488185.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.