OptionalhandlerAn optional handler - if not set the service is an iterator
OptionalmetadataOptional metadata about the endpoint
OptionalqueueOptional queue group to run this particular endpoint in. The service's configuration queue configuration will be used. See ServiceConfig. Note that if the queue is set to an empty string, it will not be run in a queue.
Subject where the endpoint listens
A service Endpoint