case *workflowservice.UnpauseActivityExecutionRequest:
return namespace.RoutingKey{ID: routingIDFromResourceID(r.GetResourceId())}
return namespace.RoutingKey{ID: r.GetExecution().GetWorkflowId()}
case *workflowservice.UnpauseWorkflowExecutionRequest:
return namespace.RoutingKey{ID: r.GetWorkflowId()}