AMQ-5306 Added logic for use case where 2 comma separated dests are named, and composite = true