Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

configuring queue. topic

Posted on 2013-05-27
3
326 Views
Last Modified: 2013-06-01
I would like to know how is configuring queue. topic on JBoss 5 different from jboss-5.0.0.CR2\ and how is it different from latest version of jboss.


I do not find any good end to end example on publishing, subscribing from Queue/Topic on specific version of jboss say  jboss-5.0.0.CR2
Any links, sample code, resources, ideas highly appreciated. Thanks in advace
0
Comment
Question by:gudii9
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
GuruJava earned 500 total points
ID: 39200921
0
 
LVL 7

Author Comment

by:gudii9
ID: 39201130
In jboss 5.0CR2 vesrion


I have to define Queue as below

 <mbean code="org.jboss.jms.server.destination.QueueService"    
      name="jboss.messaging.destination:service=Queue,name=DLQ"    
      xmbean-dd="xmdesc/Queue-xmbean.xml">    
      <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>          
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>    
      <depends>jboss.messaging:service=PostOffice</depends>    
   </mbean>    
       

Open in new window



it has annotation etc tags in it.

Where as in jboss 5.0 we have to define queue as in the attachment.

I am having jboss 5.0CR2 version jboss. I wonder which are mandotory attributes to define a simple queue as the declaration tags seems complicated with annotation stuff in jboss5.0CR2 compared to JBoss5.0
Please advise
queue5.0.jpg
0
 
LVL 5

Expert Comment

by:GuruJava
ID: 39204193
may be you can switch to jboss5.0 if possible or have look on bellow url that may help you ...

https://community.jboss.org/thread/64761
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question