Hi,

If you want to call POJO beans (which can be very advanced), you can use 
directly a cxf-se SU with a xbean.xml like this :

<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0";
       xmlns:myservice="http://www.exemple.com/myservice";>
   
   <cxfse:endpoint service="myservice" endpoint="mybean">
      <cxfse:pojo>
         <bean class="com.exemple.mybean"/>
      </cxfse:pojo>
   </cxfse:endpoint>

</beans>

One time that you have packaged this SU in a SA, your CXF-SE based component 
will registered in the NMR.

Don't forget that the NMR is uniq, so one time your CXF-SE is registered in the 
NMR you can create binding components in new SUs from other SAs.

You can use the BC that you want (http, jms, cxf-bc, etc).

For exemple, you can create a new SA containing a HTTP based SU using this 
xbean.xml :

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:myservice="http://www.exemple.com/myservice";>

   <http:consumer service="myservice" endpoint="myhttp"
                  targetService="myservice" targetEndpoint="mybean"
                  locationUri="http://0.0.0.0:8282/myService/";
                  soap="true"/>

</beans>

Regards

On Wednesday 12 November 2008 - 09:51, Sylvester wrote:
> Hi,
> I am a servicemix beginner. I have a decent idea about the various  
> components, ie SE, BC, SA, SU etc. I created a servicemix-bean SU and SA  
> in eclipse with maven. How do I invoke this endpoint. How do I create a  
> BC/ reuse a BC for this?
> If I use the cxf-bc to invoke this, will that work? Is that the right  
> way to go?
>
> Basically, any suggestions on invoking this servicemix-bean endpoint are  
> welcome. I didn't find any info on the website about this.
>
> Thanks,
> Sylvester

-- 
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[EMAIL PROTECTED]
PGP : 17D4F086

Reply via email to