I am new to ServiceMix and am getting started with 4.1. I have a few questions about the NMR and its configuration:
1.) Will the NMR queue messages? I understand that you can write messages from one component to another but what services does the NMR offer in terms of message delivery? When is it better to dump messages to a JMS queue as opposed to direct invocation? I am concerned because there are three stages to my process, all of which take different times to run...
2.) The EIP book offers two possible ways of implementing the timer service: one based on the osgi and one based on the NMR. Can you provide an example of a case scenario when each one might be a benefit over the other?
3.) Lastly, how does the JBI component relate to the previous JBI component as was defined in version 3.4? Previously, you were able to deploy service assemblies with XML configurations and that sufficed. It seems as though you can still do that but now you have the added ability of introducing OSGi components into the mix. I get the impression that the OSGi development capabilities are primarily for module development - i.e. new service engines or a new style of bind component - as opposed to service connectivity. Is that correct? So for example, I might write an OSGi component that looks up a respective service and uses it to respond to request and then, on a separate invocation, it might use an entirely different service to respond to the request - thereby being an alternative to one of the EIP routing patterns? Or is it that I would just write an OSGi module to implement a particular service and use the an EIP routing pattern to determine which OSGi service to call. (i.e. where is the service lookup pattern intended to occur?)
Sorry for all the questions but just trying to clarify my understanding.