|
There is an interesting thead with Ron
Ten-Hove on the Java Business Integration Forum at Sun, after I put some of
the same questions up there. http://forum.java.sun.com/thread.jspa?forumID=512&threadID=653612 Cheers P From: Philip Dodds There has been some discussion around the current components
and POJO client classes and how they would work in a standard JBI deployment.
The current components implement the JBI interfaces of Component and LifeCycle, and their configuration is driven through the
Spring JBI wrapper, such that the class is created by Spring and configured
through getters/setters. Dynamic destinations are covered in this
approach using Spring, this makes configuring the JBI components much easier,
and provides an excellent IoC architecture for JBI allowing for re-use of
components and easy extensibility. However, it is unclear from the spec whether a component
should implement a ServiceUnitManager
which is actually performing the work, and while this may be purposefully vague
we should balance the arguments for making our components function in the
Component Lifecycle (start/stop etc) or at the Service Unit Manager
(start/stop). The SUM approach provides the ability to leverage the
connections metadata in the jbi.xml and also provides the artifact-zip which
might be important to components like transformation engines. Here are some of the point that have been brought up so far:
I suppose I have been imagining a deployment architecture
whereby components could be deployed and made available, and I suppose would
exist a bit like a factory with instances of the component being created and
managed by the SUM? This would allow for code deployment and then
descriptor/artifact deployments making use of them. However, is it really
important to have this model for Binding Components (which is most of the
components in ServiceMix currently) or is it OK having each one as a separate
component? Anyway I just wanted to start the discussion moving since I
think this affect the user community, having a roadmap from quickly getting
going on ServiceMix through the servicemix.xml and Spring infrastructure and
being able to migrate up to a standard JBI deployment unit. Cheers P |
- [servicemix-dev] Components and Service Units Philip Dodds
- RE: [servicemix-dev] Components and Service Units Philip Dodds
