Book Image

Service Oriented Java Business Integration

Book Image

Service Oriented Java Business Integration

Overview of this book

Table of Contents (23 chapters)
Service Oriented Java Business Integration
Credits
About the Author
Acknowledgement
About the Reviewers
Preface

Sample Demonstrating Clustering


This section will demonstrate the clustering features provided by ServiceMix which we discussed earlier with the help of the running samples.

Sample Use Case

The sample scenario we use for clustering will consist of three ServiceMix instances configured in a cluster. For the sake of simplicity, all three instances will currently run in a single physical node, hence we are using the "localhost" as the server IP everywhere. However, it is possible to distribute these instances into different physical nodes in which case we may have to use the IP address of these nodes to form the cluster.

The following figure shows the cluster set up. Here, we have three different ServiceMix instances. Since in cluster mode, all the ServiceMix instances must have a unique name in the whole cluster. We will name the instances with different names namely admin, managed1, and managed2. One of these ServiceMix instances also manages a JMS connection broker, and hence we have arbitrarily...