case *workflowservice.GetWorkflowExecutionHistoryRequest:
return namespace.RoutingKey{ID: r.GetExecution().GetWorkflowId()}
return namespace.RoutingKey{ID: r.GetExecution().GetWorkflowId()}
case *workflowservice.ListScheduleMatchingTimesRequest:
return namespace.RoutingKey{ID: r.GetScheduleId()}