Comment 6 for bug 1716671

Revision history for this message
Dougal Matthews (d0ugal) wrote :

I think we can make an exception for this workflow as it is a special case (as it is internal/reserved).

However, it is worth noting that if you are only looking for messages with the type of the workflow you initially executed that you may be missing messages in other cases. Workflows hard-code the type. This means that if workflow A calls workflow B and it then sends messages they will have the type "B".

You can see the logic used in tripleoclient for handling this here: https://github.com/openstack/python-tripleoclient/blob/master/tripleoclient/workflows/base.py#L48-L76

(Remember that tripleoclient uses a unique zaqar queue for each execution, so things are a bit different and it might not directly apply)