// Handles a connection event void HandleConnected(AmqpClient client) { var subscription = new UnityAmqpExchangeSubscription("sensorData", AmqpExchangeTypes.Direct, "", null, handleIncomingMessage); amqp.SubscribeToExchange(subscription); subscription = new UnityAmqpExchangeSubscription("chairs", AmqpExchangeTypes.Direct, "", null, handleIncomingMessageChairs); amqp.SubscribeToExchange(subscription); }