def startService(self):
     log.msg("Starting VumiService")
     host = self.options.pop('hostname')
     port = self.options.pop('port')
     # the worker creator starts workers, give it what class you 
     # want to start and what options you want to pass along
     worker_class_name = self.options.pop("worker_class")
     if not worker_class_name:
         raise VumiError, "please specify --worker_class"
     
     # load the config file if specified
     config_file = self.options.pop('config')
     if config_file:
         with file(config_file, 'r') as stream:
             self.options.update({
                 'config': yaml.load(stream)
             })
     
     worker_class = load_class_by_string(worker_class_name)
     creator = WorkerCreator(worker_class, **self.options)
     # after that you connect it to the AMQP server
     creator.connectTCP(host, port)