Abstractions for messaging queuing and RPC