A message routing framework for cluster architecture