Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

configuring queue. topic

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
ASKER CERTIFIED SOLUTION
Avatar of GuruJava
GuruJava

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gudii9

ASKER

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
Avatar of GuruJava
GuruJava

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