Soumya,

If you start ServiceMix with the servicemix.bat file as you are doing,
without changing any of the configuration files, it will run an
ActiveMQ broker inside ServiceMix.  You can use it as a JMS broker for
the JMS endpoints, but we also use it internally for e.g. the wsn2005
component or when you use the JMS/JCA flow.  By default, the embedded
ActiveMQ instance is configured to use multicast discovery, so it will
send out multicast packets to find other ActiveMQ instances on the
network and automatically connect to those.  The conf/activemq.xml is
basically just an ActiveMQ configuration file, so you can use whatever
type of configuration you find on http://activemq.apache.org in there
(clustering, failover, ...)

Concerning Apache Geronimo: that is an open-source application server
which can be extended by using Geronimo plugins.  We have such a
plugin for ServiceMix, allowing you to run ServiceMix inside Geronimo.
 However, if you just run the standard distribution, you are not using
Geronimo at all.  It's just the JBI container with the embedded
ActiveMQ broker then.  Also, this is just for ServiceMix 3 : we don't
have support for embedding ServiceMix 4 inside Geronimo yet, but this
should be a far less common requirement for ServiceMix 4 because it is
based on OSGi so you can integrate things at the OSGi level there.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/5/20 Soumya <[email protected]>:
>
> Hello everybody,
>
> I have been using servicemix with Activemq packaged in it for sometime with 
> guidance from seniors in my company.
> However recently started digging into it more as to how exactly it operates.
> if we go to
> http://servicemix.apache.org/home.html
>
> "ServiceMix uses ActiveMQ to provide remoting, clustering, reliability and 
> distributed failover.
>
> ServiceMix is completely integrated into Apache Geronimo, which allows you to 
> deploy JBI components and services directly into Geronimo. ServiceMix is 
> being JBI certified as part of the Geronimo project."
>
> 2 questions-
> 1) I checked the conf files and saw that we start it with activemq as a 
> broker. So I guess ActiveMq acts as a JMS provider for servicemix? So even if 
> I don't use the ActiveMq packaged with servicemix, I can make it connect to 
> some other ActiveMq instanced running independantly standalone? If so how do 
> I do it?
>
> 2) This is what confuses me more. What I understand Apache Geronimo is a 
> opensource J2EE app server. So if I go by the above statement in the link, 
> when I am starting servicemix with servicemix.bat or as a wrapper service, I 
> am in effect starting the Geronimo J2EE server? that way can I deploy J2EE 
> components say like EJBs in servicemix?
> If not, what role does Geronimo exactly play in servicemix container?
>
> My apologies if I sound too novice, but any info will really help me use 
> servicemix in a more competent way.
> Thanks in advance
> Soumya
>
>
>
>      Cricket on your mind? Visit the ultimate cricket website. Enter 
> http://beta.cricket.yahoo.com
>

Reply via email to