THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- The ServiceMix container reads the
servicemix.xml
file and instantiates the components specified through SpringJBIContainer. - SpringJBIContainer registers the components and the activationSpecs in its afterPropertiesSet method. In this case, httpReceiver and stockQuote are registered as activationSpecs.
- SpringJBIContainer uses ActivationSpec class as the container for component specific properties such as routing information.
Some of its ActivationSpec's methods are:
setId - takes the spring:id=jbi and sets the id of the container to "jbi"
setcomponentName = sets componentName to httpReceiver on one invocation and "stockQuote" when the other component is instantiated.
setEndpoint - sets the endpoint properties from the servicemix.xml file
setService - sets the service properties from xml file setDestinationService = sets the destinationService for each component
...