javax.jms.JMSSecurityException: User: xyz doesn't have permission='SEND' on address jms.queue.xyzQueue
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
- JBoss Enterprise Application Platform
- 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
