Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-338 servicemix-bean TransformBeanSupport does not currently provide a way to set the exchange target
  3. SMXCOMP-343

Provide convenient base classes to simplify servicemix-bean component development (including IN-only MEP Transforms)

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      The deprecated, LightWeight container provided a convenient base class, TransformComponentSupport, that made it easy for non-JBI experts to write simple transforms in Java. In order to accomplish the same task with servicemix-bean, a developer must have have in-depth, JBI knowledge. A helper class or base class should be created to make it easier for developers to write transforms using servicemix-bean. A base class would also be useful to ease the implementation of non-Transform servicemix-beans.

      I suggest the following class names for the proposed two base classes:

      1. org.apache.servicemix.bean.support.BeanSupport.java - this class provides servicemix-bean specific functionality currently offered by the combination of "org.apache.servicemix.components.util.PojoSupport.java" and "org.apache.servicemix.components.util.ComponentSupport.java"

      2. org.apache.servicemix.bean.support.TransformBeanSupport.java - this class extends "org.apache.servicemix.bean.support.BeanSupport.java" (above), implements MessageExchangeListener, and provides servicemix-bean specific functionality currently offered by "org.apache.servicemix.components.util.TransformComponentSupport.java"

      Attachments

        1. lw2smbean.zip
          5 kB
          Andrea Zoppello
        2. BeanSupport.zip
          12 kB
          Gianfranco Boccalon

        Activity

          People

            gnodet Guillaume Nodet
            rgavlin Ron Gavlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: