?
Solved

configuring queue. topic

Posted on 2013-05-27
3
Medium Priority
?
329 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
[X]
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
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
GuruJava earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
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:
Suggested Courses
Course of the Month13 days, 8 hours left to enroll

801 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