Hello, I read the servicemix-bean tutorial. It gives a example to deploy a POJO. It requires the POJO should implements MessageExchangeListener. I think it is not a read POJO. A POJO should be any Java class doesn't implement or extend from any interface or class, doesn't have any annotation.
Jean-Baptiste Onofré wrote: > > You have two ways to do that: > 1/ use servicemix-bean component > 2/ use cxf-se with pojo attribute > > Take a look on this tutorial: > http://servicemix.apache.org/6-intermediate-using-ejb-inside-servicemix.html > > Regards > JB > > youhaodeyi wrote: >> BC is internal used, I want to define my own customized BC class. It is a >> POJO. My business logic is in a method in this POJO. How can I put this >> POJO >> in servicemix as a service? > > -- View this message in context: http://www.nabble.com/How-can-I-create-a-customized-BC--tp25470638p25473931.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
