3 Replies Latest reply on Mar 22, 2014 2:05 PM by Wolfgang Knauf

    Questions about the "Messaging configuration" documentation

    Wolfgang Knauf Master

      Hi all,


      two questions about the Messaging configuration document at https://docs.jboss.org/author/display/WFLY8/Messaging+configuration


      First: is my observation correct that WildFly 8 autocreates a queue if there is no config in standalone-full.xml and no "...-jms.xml" file in the ejb jar?

      I observed this behavior with this ejb config:

      @MessageDriven (activationConfig=


          @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),

          @ActivationConfigProperty(propertyName="destination", propertyValue="jms/queue/MessageBeanQueue")


      public class MessageBean implements MessageListener


      Is this an expected behavior? Or is it controlled by some switch?


      Second: the doc contains some CLI snippets for adding a queue. It seems those are no longer correct. Instead of "jms-queue add --name=myQueue --entries=queues/myQueue" I had to use "jms-queue add --queue-address=myQueue --entries=queue/myQueue"


      Similar problem for the sample "read-resource" call, which follows the "jms-queue add" snippet.

      For me, it worked only with this syntax: "/subsystem=messaging/hornetq-server=default/jms-queue=myQueue:read-resource"  (added "hornetq-server=default")


      Could the doc be updated please?