register
Registers a message function with this registrar.
Adds the specified function to the registry, making it available for message processing queries. If the function is already registered, this operation may be idempotent depending on the implementation.
Parameters
function
The message function to register, must not be null
Throws
if the function is null or invalid for registration