🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Schema Validation at Topic/Queue Level
Hey SolaceDevs,
Can you validate the event with schema at topic level?
I have a requirement to validate the message against schema in MuleSoft. I'm wondering that is it possible to validate the same in Solace PubSub+ Event broker?
For example, If I publish an event to topic then the event broker should validate the event with schema.
Thanks,
NaGG
Comments
-
Hey @NaGG,
At this point in time the Solace Event Brokers are payload agnostic. The broker does not inspect the payload and therefore does not allow for validation at this time.
That said, if you're using the Event Portal it has a REST API that you can use to retrieve the events and schemas for validation. I can see a MuleSoft Connector maybe automating some of this in the future
0 -
Think of the Solace broker more like your Cisco IP switch or router... those certainly don't look at the payload of a packet, only header information for routing purposes. Solace brokers are similar, like an enhanced network capability. Solace is not a database, where you'd you need to validate/store the contents of the messages. That's left to consuming applications, connectors, auditing/management apps, etc.
Although... maybe one day..?
1