Closed scoheb closed 4 years ago
I think I understand what you are doing, but fedmsg doesn't have any concept of message headers. So I assume you are forcing any parameters to behave as headers?
@ggallen Looking at datagrepper for Fedora (https://apps.fedoraproject.org/datagrepper/id?id=2019-6e63976f-9b4e-4f1d-941e-d950babe8b32&is_raw=true&size=extra-large) there is a headers element...I am using that.
That's something added by datagrepper. It's not part of the actual message at all. Just as the "msg" element isn't really part of the message, but datagrepper adds that and puts the body of the message under it.
This solution may work, and may be the only way to do it. But I'm not sure it's the right way. I don't think job parameters for AMQ messages get put in the message headers. Or do they?
@ggallen maybe it is not applicable for FedMsg...but it is working...
it has always worked for ActiveMQ for String parameters...I fixed it to work with Booleans
Fixes #141