Hi,

I am just starting with ServiceMix and would like to better understand
preferred deployment model.  Currently, we have a number of REST WebServices
which are being hosted by Tomcat spread among multiple machines running
different JVM(s).  These services have dependencies on each other, and thus
create a network of dependencies which at times is difficult to manage.

We would like to simplify and externalize these dependencies and looking at
ServiceMix to host these integrations.

I see two possible methods of integrating ServiceMix into our existing
infrastructure:

Method A: Host services inside of Service Mix

1) Instead of hosting services in Tomcat, host them inside of ServiceMix
using Jetty.
2) Using the Network of Brokers configuration, network all the ServiceMix
boxes together using ActiveMQ
3) Emit messages from the services which are then placed on queues/topics of
ActiveMQ
4) Deploy routes to handle processing of these messages 

Method B: Host services independently of Service Mix

1) Start up a few instances of Service Mix servers mostly for High
Availability scenario
2) Using Network of Brokers link all the Service Mix instances together
using ActiveMQ
3) Update our existing services to emit events (which could be routed via
embedded camel to ActiveMQ queues/topics hosted by the network of ServiceMix
boxes setup in step 1)
4) Have the ServiceMix boxes host routes that will be used to handle the
messages while making REST calls to the other services as needed.

These methods are very similar with exception of where the web services
actually hosted and how many ServiceMix JVM(s) are deployed.  Which is the
preferred method for ServiceMix deployment/integration?

Thanks.
-AP_




--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Integrating-ServiceMix-into-existing-architecture-tp5718755.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to