5 Replies Latest reply on Dec 16, 2011 10:41 AM by ~= ziggy =~

    How do i add a Queue/Topic in Jboss 7?

    ~= ziggy =~ Newbie

      I downloaded jboss-as-web-7.0.2.Final as i would like to test out JMS and HornetQ on Jboss 7. I have not got anywhere so far as i just cant figure out how to add a Queue.

       

      According to this document https://docs.jboss.org/author/display/AS7/Messaging+configuration , a queue can be added by using the add-jms-queue command. I tried it but it generates an error.

       

      [standalone@localhost:9999 /] add-jms-queue --name=sampleQueue --entries=queue/sampleQueue

      The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable).

       

      Any ideas?

       

      Thanks