On 12/13/07, Robert Thullner <[EMAIL PROTECTED]> wrote:
> Thanks for this information
>
> I have one more question on service mix.
> Some examples show the usage of JBI packaging where all the service units
> and service assembly have their pom.xml and xbean.xml files. At the end
> everything is installed on a running servicemix container.
>
> Some other examples use a static configuration within a servicemix.xml or
> other xml files. Then servicemix is started and the xml files are passed as
> parameters.
>
> What is the main difference between those two modes? Are there some criteria
> where one of them should be prefered to an other?

The static style of configuration is known as a lightweight
configuration. This configuration style was created when ServiceMix
started as a way to simplify using JBI. It was a good intention, but
the result was very specific to ServiceMix, not portable to any other
JBI container and it requires the entire container to be shut down to
change any of the lightweight component configuration.

Over time, however, what we found was that people wanted JBI compliant
components more than custom components with custom configurations.
Additionally, nobody liked having to shutdown ServiceMix to change the
configuration. So we began to put our efforts toward building JBI
compliant components and none of the committers is really focused on
advancing the lightweight components these days.

So as more JBI compliant components were created, we decided to create
a JBI compliant component to which the lightweight configurations can
be deployed. This is how the servicemix-lwcontainer came about. The
lwcontainer itself is a JBI compliant component, but the
configurations deployed to it are not JBI compliant.

Hopefully I've answered your questions with this answer. Please let us
know if you have any more questions.

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to