🎄 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.

Issue with Adding "Non-Owner Permission" to Queue Templates

EP1
EP1 Member Posts: 2

Hi,

I love the new feature to set up queue templates. We have defined two at the moment but are stuck with the following issue.

We would like to add the property permission, also known as non-owner permission. I have looked up the meta definition of the queue template, and the property is available to use. Still, we get the error that the content does not comply with the schema: "/properties must not have additional properties."

Does anybody know how to tackle this?

Cheers Erik

Ps see attachment for setup

Answers

  • Tamimi
    Tamimi Member, Administrator, Employee Posts: 541 admin

    Hey @EP1 - I was able to have the following template with no issue… can you please try with this:

    {
      "accessType": "exclusive",
      "maxMsgSpoolUsage": 5000,
      "queueName": "TEST",
      "additionalProperties": false,
      "properties": {
        "permission": {
          "default": "no-access",
          "enum": ["no-access", "read-only", "consume"],
          "type": "string"
        },
        "accessType": {
          "default": "exclusive",
          "enum": [
            "exclusive",
            "non-exclusive"
          ]
        }
      }
    
    }
    

  • EP1
    EP1 Member Posts: 2

    Hi Tamimi,

    Still the same error.

    But I have discussed this with Joseph Lanoux and understand why the paramater was not added to the queue templates in event portal.

    Thanks, Erik