Guiseppe,
As far as I understand it, there are two main ways of configuring
endpoints, services, ... in ServiceMix.
The first one is static configuration, where you will add all
information about endpoints, routing, services, ... to the same
servicemix.xml file that already contains the container configuration.
This allows you to easier embed ServiceMix in e.g. a web application or
a stand-alone GUI application. You can build this type of configuration
using Maven (and the JBI plugins), but you can also write an Ant script
that does the necessary work for you. There is even an option to embed
the ServiceMix container in the Maven build script (for testing purposes)
The second way of configuring endpoint, services, components, ... in
ServiceMix is by using deployment/installation. In this case, you have
an instance of the container running (e.g. stand-alone in it's own VM)
and you want to add/remove components and service assemblies. Depending
on your own development environment, you can again choose between Ant
and Maven for deployment/installation. Both of them have special
tasks/plugins to help you do this. In addition, there also is the
hot-deployment feature, which allows you to simple copy the component
(to the install directory) or the service assembly (to the deploy
directory) to get them deployed.
In summary, you can choose the tool that best matches your current
environment (Ant or Maven) and use either one of them to build and
deploy/install a static or dynamic configuration of your artifacts.
Does this answer your question or am I only adding to the confusion?
Gert
beppe82 wrote:
Hi, I think the documentation isn't perfect respect deployment and
installation of components.... can you explain me the differences between
the methods written here , please?
http://incubator.apache.org/servicemix/4-examples.html
Thank you very much