javax.jms.JMSSecurityException: User: xyz doesn't have permission='SEND' on address jms.queue.xyzQueue

Solution Unverified - Updated -

Issue

  • Getting below exception when sending messages to queue from a remote client.
Exception in thread "main" javax.jms.JMSSecurityException: User: xyz doesn't have permission='SEND' on address jms.queue.xyzQueue
    at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:312)
    at org.hornetq.core.client.impl.ClientProducerImpl.doSend(ClientProducerImpl.java:287)
    at org.hornetq.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:142)
    at org.hornetq.jms.client.HornetQMessageProducer.doSend(HornetQMessageProducer.java:451)
    at org.hornetq.jms.client.HornetQMessageProducer.send(HornetQMessageProducer.java:199)
    .
       .
        Caused by: HornetQException[errorCode=105 message=User: xyz doesn't have permission='SEND' on address jms.queue.xyzQueue]

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content