return type to message in consumer