Solace Community is getting a facelift!

On March 3rd we will be starting the process of migrating Solace Community to a new platform. As a result, Solace Community will go in to a temporary read-only state. You will still be able to come onto Solace Community and search through posts to find answers, but you won't be able to ask questions, post comments, or react in any way.

We hope to have the migration complete by Wednesday March 5th (or sooner), so please keep an eye out!

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: 549 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

This Month's Leaders

This Week's Leaders