Thanks guys for your quick responses!

I have a followup question:

what are the options for deployment here? 

  do i need to develop/deploy as JBI: one su for bean and another for
cxf-bc?

  or I can develop/deploy one OSGI service consisting the bean code & cxf-bc
config (with POM package as osgi packaging)

maybe it is not either/or, and if both ways are possible, which way is
recommended. your comments are appreciated.

Thanks!
 

Ashwin Karpe wrote:
> 
> Hi,
> 
> You can definately front it with a servicemix bean. It is not necessary to
> have a CXF-SE. 
> 
> You will need to obviously then consume, transform the payload and send an
> appropriate response via the servicemix-bean. Also, you need to
> appropriately handle the different MEPs (In-Only etc) for methods invoked
> by the CXF-BC correctly in the POJO.
> 
> Hope this helps.
> 
> Cheers,
> 
> Ashwin...
> 
> 
> saravanan.t wrote:
>> 
>> Hello,
>> 
>> I have a (beginner) question on fronting a pojo with CXF-BC. Can I do
>> this:
>> 
>> 1) using servicemix-bean component, expose this pojo.
>> 2) front this endpoint using CXF-BC 
>> 
>> or 
>> 
>> Do I have to create a CXF-SE (with annotated pojo) and only then i can
>> front it using CXF-BC?
>> 
>> Thanks and have a nice day!
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/SMX4%3A-exposing-a-pojo-externally-with-cxf-bc-tp23154504p23173408.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to