Hi all,

Being inexperienced with messaging and ActiveMQ, I considered
replacing an ActiveMQ 5.16 broker installation with Artemis, and I
wonder if this is possible without having to upgrade the Java based
clients ?

On the Artemis broker, I have a simple acceptor:
<acceptor 
name="withoutssl">tcp://0.0.0.0:61616?securityDomain=withoutssl</acceptor>

I do a JMS test where I use the ActiveMQ deps like this:
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-all</artifactId>
    <version>5.16.2</version>
</dependency>

But upon sending a message I get this Exception:
javax.jms.JMSSecurityException: AMQ229213: User: client1 does not have
permission='CREATE_NON_DURABLE_QUEUE' for queue
c4146f5e-4d97-448c-b8b0-2e6001bfe499 on address
ActiveMQ.Advisory.TempQueue
at 
org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.convertException(OpenWireConnection.java:415)
at 
org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.act(OpenWireConnection.java:327)
at org.apache.activemq.artemis.utils.actors.Actor.doTask(Actor.java:33)
at 
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
at 
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
at 
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
at 
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at 
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)


What is up with that. Advisory TempQueue ?

/Steffen

Reply via email to