<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>I'm still new to the idea of supervisors in Erlang. Assume I have a client C managed by supervisor MC, and server S managed by supervisor MS. When C sends a message to S, does the message get routed through MC and MS first? Or do C and S communicate directly? If so, where in the code are they connected together? <BR>
 <BR>
If C sends a message to S and S fails, will C's message be saved somewhere so it can try again after restarting S? Is this done automatically, or manually by one of the supervisors? <BR>
 <BR>
If S fails repeatedly, then I want to replace it with S2 (a simpler task). How can C's messages be routed to S2 transparently? I don't want C to be aware of the failures.<BR>
 <BR>
I hope that made sense. Thanks.<BR>
 <BR><br /><hr />Climb to the top of the charts! Play the word scramble challenge with star power. <a href='http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan' target='_new'>Play now!</a></body>
</html>