Use the Connection.qos_semantics_matches_spec property instead