public void overriddenClusterConfiguration() throws Exception
{
final int clusterNodeId = 22;
final String clusterId = "some-id";
MuleContext context = new DefaultMuleContextFactory().createMuleContext();
context.getRegistry().registerObject(MuleProperties.OBJECT_CLUSTER_CONFIGURATION, new ClusterConfiguration()
{
@Override
public String getClusterId()
{
return clusterId;