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