ServiceMixBean shoud support  classpath bean deployment style as the old 
lightweight container
----------------------------------------------------------------------------------------------

                 Key: SM-1745
                 URL: https://issues.apache.org/activemq/browse/SM-1745
             Project: ServiceMix
          Issue Type: Improvement
            Reporter: Andrea Zoppello


The old lightweight container let you to develop your own pojo packet as a jar
and put in servicemix classpath, and all was very simple and working very well.

I'm now porting my old lw-components to servicemix-bean, and i want to use the 
same
deployment style ( package my pojo exetending TransformBeanSupport as jars ) 
and put in classpath.

Unfortunately this cause classloading problems because some class packaged in 
servicemix-common.jar and servicemix-bean.jar  are needed ( BeanSupport, 
TransformBeanSupport and so URIResolver, ExchangeTarget.. ) and so on.

To enable classptah deployment i finally created two jars and put in servicemix 
classpath:
- smx-bean-support.jar ( with BeanSupport, ExcahngeTarget, and 
TransformBeanSupport )
- smx-bean-common-utils ( wil all classes from 
org.apache.servicemix.common.util )

This will solve all the problems, and let me to work as i've done in past with 
lw-contakiner.

Any plan to support this in servicemix next release?? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to