Ejemplo n.º 1
0
func (worker WorkFlowWorker) ExecuteWorker(request *messaging.ServiceRequest) messaging.ServiceResponse {
	fmt.Println("Not Implemented in WorkFlow Disconnect in RabbitMQ.")
	var temp = messaging.ServiceResponse{}
	if request.Body != nil {
		log.Printf("Received a message: %s", request.Body)
	}
	temp.IsSuccess = false
	return temp
}
func (queue QueuedObjectStoreWorker) ExecuteWorker(request *messaging.ServiceRequest) messaging.ServiceResponse {
	fmt.Println("Not Implemented in Queued ObjectStore for RabbitMQ. Use REPLICATED Object Store")
	var temp = messaging.ServiceResponse{}
	if request.Body != nil {
		log.Printf("Received a message: %s", request.Body)
	}
	temp.IsSuccess = false
	return temp
}
Ejemplo n.º 3
0
func (worker ExcelWorker) ExecuteWorker(request *messaging.ServiceRequest) messaging.ServiceResponse {
	fmt.Println("Not Implemented in Excel Worker in RabbitMQ. Use FileServer.FileManager.Store(*FileRequest)")
	var temp = messaging.ServiceResponse{}
	if request.Body != nil {
		log.Printf("Received a message: %s", request.Body)
	}
	temp.IsSuccess = false
	return temp
}