Return type

In my coldbox cfc retun type either 0 or 1. However, I also need to display the messages like ‘process row 1’ / process row2 and so on. Is that possible?