added synchronous example, emulating private queues and messages