protected ConsumerInfo createConsumer(SessionInfo parent) { return new ConsumerInfo() { ConsumerId = new ConsumerId() { ConnectionId = parent.SessionId.ConnectionId, SessionId = parent.SessionId.Value, Value = consumerIdx++ } }; }