Exception when adding HornetQ Core queues to hornetq-configuration.xml/hornetq-queues.xml
-----------------------------------------------------------------------------------------
Key: JBAS-7913
URL:
https://jira.jboss.org/jira/browse/JBAS-7913
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JMS (HornetQ)
Reporter: Jeff Mesnil
Assignee: Clebert Suconic
On a running AS server, if the user edits hornetq-configuration.xml or hornetq-queues.xml
files to add or remove HornetQ Core queues, HornetQ server will generate exception when it
deploys the queues which were already defined in the configuration files:
16:37:31,936 WARN [org.jboss.as.integration.hornetq.deployers.pojo.HornetQCoreDeployment]
Error on creating queue bar address = foo: HornetQException[errorCode=101 message=Queue
bar already exists]
at
org.hornetq.core.server.impl.HornetQServerImpl.createQueue(HornetQServerImpl.java:1294)
[:]
at org.hornetq.core.server.impl.HornetQServerImpl.createQueue(HornetQServerImpl.java:676)
[:]
at
org.jboss.as.integration.hornetq.deployers.pojo.HornetQCoreDeployment.start(HornetQCoreDeployment.java:108)
[:6.0.0-SNAPSHOT]
HornetQCodeDeployment must use HornetQServer.deployQueue() instead of createQueue() to
ignore the queue if it already exists instead of throwing an exception
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira