in Education by
I want to try and get an understanding of how JMS works. I am going through a tutorial and have created the Producer/Consumer java classes but not sure how to create the JMS queue. I downloaded jboss-as-web-7.0.2.Final which i believe has HornetQ. 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). I also cant find an option to add the queue via the admin console on the GUI. Any ideas? Thanks JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
If you have JBoss 7 web (Java EE6 Certified), It doesn't contain JMS implementation (HornetQ) as it has not been approved yet. JBoss 7 Everything (NOT Java EE6 Certified) contains JMS implementation.

Related questions

0 votes
    I want to try and get an understanding of how JMS works. I am going through a tutorial and have ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    I have 2 JMS queues and my application subscribes to both of them with Jms.messageDrivenChannelAdapter(...) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 30, 2022 in Education by JackTerrance
0 votes
    When I try the following lookup in my code: Context initCtx = new InitialContext(); Context envCtx = ( ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 22, 2022 in Education by JackTerrance
0 votes
    Im having a jar file(for java classes) with some associated files of my project.Its bacially a client/ ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 2, 2022 in Education by JackTerrance
0 votes
    Can we run Seam outside of JBoss AS?...
asked Jun 6, 2021 in Technology by JackTerrance
0 votes
    What version of JBoss AS do I need to run Seam?...
asked Jun 6, 2021 in Technology by JackTerrance
0 votes
    What if you need to span your transaction across multiple Servlet invocations in JBOSS?...
asked Jun 5, 2021 in Technology by JackTerrance
0 votes
    How can you start a JTA transaction from a Servlet deployed on JBoss?...
asked Jun 5, 2021 in Technology by JackTerrance
0 votes
    Is the Session Factory Thread-safe in JBoss?...
asked Jun 5, 2021 in Technology by JackTerrance
0 votes
    How do you monitor JBoss and detect the bottleneck of an application?...
asked Jun 5, 2021 in Technology by JackTerrance
0 votes
0 votes
0 votes
0 votes
    _____ is a process of verifying transactions, bundling them into blocks, and adding those blocks to the blockchain. A. Mining B. Digging C. Filtering D. Coding...
asked Nov 23, 2022 in Education by JackTerrance
0 votes
    I found found several question's answers similar to this, I tried some of them, but no luck. May ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 20, 2022 in Education by JackTerrance
...