On Thu, Mar 20, 2008 at 10:42 AM, Fullocto <[EMAIL PROTECTED]> wrote: > > I thank you for your help. > > > > > There is one ActiveMQ broker per ServiceMix instance. When there are > > multiple instances of ServiceMix the brokers can be networked for > > broker-to-broker communication. > > > I have a question: > > AFAIY inside the JBI environment (by the way I think it includes NMR, BC/SE, > doen't it?) service consumer/provider exchange their "JBI messages" > (actually there is the MessageExchange that is fixed on each participant of > the exchange, and NormalizedMessage are sent according to MEP, right?).
Correct. > But if the ServiceMix is distributed (several NMR each one with one broker > merged into one logical NMR), the "JBI message" can be put on a queue > managed by another broker. As ActiveMQ is based on JMS, does the broker act > as a JMS BC to transfer the "JBI NormalizedMessage" from one NMR to the > other? Yes, correct. > If yes, can't we use the ActiveMQ broker as a JMS BC? Sure but you need to be able to consume and product messages from/to the JMS destinations and this is exactly what the servicemix-jms component does. > - I have another question about the JMS in service mix > http://servicemix.apache.org/use-cases-whole.html > in the "Department Store Distributor's Order Processing System" use case > Why should we need the JCA container ? I thought that the NMR was in charge > of managing the queues. That use case is fairly old and ServiceMix has advanced and changed a lot since it was created. Today there is no need for the JCA container in connecting to a MOM as the servicemix-jms component can handle this easily. > By the way, in the caption: > > > # Resource Adapter: a resource adapter provides connectivity between a > > specific external application and the ESB. In the Basic example the jencks > > container provides a JMS resource adapater. > > # Binding Component (BC): a BC provides connectivity to applications that > > are external to the ESB. > > > Does "resource adapter" mean that the jenck container will communicate with > SE through the NMR without passing through a BC? Today Jencks is only used for creating a transaction manager. > I am having fun with all this "theory" =) but I probably need to experiment > the ESB to understand better... (tomorrow task ;)) Digging in will help you understand things a lot more. 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/
