combine AMQPContext and SockJSContext into one