Solved

configuring queue. topic

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now