changing Component send message API to use user defined out_fooBar to send message