Solved

configuring queue. topic

Posted on 2013-05-27
3
327 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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
jsp login check 12 54
Is Applet the way to go for my drag and drop system? 8 36
java mysql insert application 14 47
Eclipse for Java EE development 2 45
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

730 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