Added validation to the service bus and in memory implementation