Messaging Gateway pattern implemented in C#.