title: Red Hat AMQ 7.1 broker- JMSSecurityException
body: <blockquote>
    <p>javax.jms.JMSSecurityException: AMQ119213: User: epic does not have permission='CONSUME' for queue service_input on address service_input.service_input</p>
  </blockquote>
  
  <p>In broker.xml have given the permission to user epic but still issue not resolved</p>
  
  <pre><code>&lt;security-settings&gt;
       &lt;security-setting match="#"&gt;
          &lt;permission type="createNonDurableQueue" roles="amq"/&gt;
          &lt;permission type="deleteNonDurableQueue" roles="amq"/&gt;
          &lt;permission type="createDurableQueue" roles="amq, epic, guest"/&gt;
          &lt;permission type="deleteDurableQueue" roles="amq,epic, guest"/&gt;
          &lt;permission type="createAddress" roles="amq, epic, guest"/&gt;
          &lt;permission type="deleteAddress" roles="amq, epic , guest"/&gt;
          &lt;permission type="consume" roles="amq, epic , guest"/&gt;
          &lt;permission type="browse" roles="amq, epic , guest"/&gt;
          &lt;permission type="send" roles="amq, epic , guest"/&gt;
          &lt;permission type="manage" roles="amq, epic , guest"/&gt;
       &lt;/security-setting&gt;
       &lt;/security-settings&gt;
         &lt;address-settings&gt;
           &lt;address-setting match="epic.#"&gt;
              &lt;dead-letter-address&gt;DLQ&lt;/dead-letter-address&gt;
              &lt;expiry-address&gt;ExpiryQueue&lt;/expiry-address&gt;
              &lt;redelivery-delay&gt;0&lt;/redelivery-delay&gt;
              &lt;max-size-bytes&gt;-1&lt;/max-size-bytes&gt;
              &lt;address-full-policy&gt;PAGE&lt;/address-full-policy&gt;
              &lt;auto-create-queues&gt;true&lt;/auto-create-queues&gt;
              &lt;auto-create-addresses&gt;true&lt;/auto-create-addresses&gt;
              &lt;auto-create-jms-queues&gt;true&lt;/auto-create-jms-queues&gt;
              &lt;auto-create-jms-topics&gt;true&lt;/auto-create-jms-topics&gt;
           &lt;/address-setting&gt;
  
      &lt;/address-settings&gt;
          &lt;addresses&gt;
          &lt;address name="epic.PipelineEngine"&gt;
              &lt;anycast&gt;
                 &lt;queue name="execute_exchange" /&gt;
                 &lt;queue name="service_exchange" /&gt;
                 &lt;queue name="input_exchange" /&gt;
                 &lt;queue name="unknown_exchange" /&gt;
                 &lt;queue name="control_message_exchange" /&gt;
                 &lt;queue name="notification_exchange" /&gt;
              &lt;/anycast&gt;
           &lt;/address&gt;
    &lt;/addresses&gt;
  </code></pre>