The spirited debate following my last post on messaging being degenerate RPC got me thinking; is there some way to combine these two somewhat orthogonal methodologies, to create a unique hybrid approach? A bit of insight led me back to update the original cajo Queue messaging class, and the results were indeed most satisfying.
As a client, ever need to only use a portion of a service object's interface? How about small pieces from several of its interfaces? It could really simplify things to use a custom interface, containing only the methods needed. This is Dynamic Client Subtyping; let me show you how it's done.