TDQ-9756 Replace consumer xml with java code.