You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use CAP in our event based microservices on ASP.NET Core Web APIs as a outbox solution. Also use RabbitMQ for message/queue processes. API should communicate with message/queue systems with other applications but these clusters are located different servers. Because of that should set federational system on RabbitMQ clusters.
As a result, realized that some problem about headers when sharing events. RabbitMQ federation plugin forces events to share with "x-received-from" header and that header value is an object. So "OnConsumerReceived" event in RabbitMQConsumerClient, reading headers end-to-end and then trying to explicit cast header value to byte array (RabbitMQConsumerClient. cs file, line 185). And it causes exception for headers like i mentioned. It should be blocked or ignored, it depends on you. But according to me, developers don't have to add that file as a class library in projects and make a custom solution.
I hope it will fix as soon as possible.
Thanks a lot.