"anil.saldhana(a)jboss.com" wrote : I think I have the mbean name wrong. There
probably lies the issue. :(
Nope. Try this:
| <?xml version="1.0" encoding="UTF-8"?>
|
|
| <deployment xmlns="urn:jboss:bean-deployer:2.0">
|
|
| <bean name="QueueEJB3MDB"
class="org.jboss.mq.server.jmx.Queue">
|
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.messaging.destination:service=Queue,name=QueueEJB3MDB",
exposedInterface=org.jboss.mq.server.jmx.QueueMBean.class,
registerDirectly=true)</annotation>
| <property name="JNDIName">QueueEJB3MDB</property>
| <property
name="serverPeer">jboss.messaging:service=ServerPeer</property>
| <depends>jboss.messaging:service=PostOffice</depends>
| </bean>
|
| </deployment>
|
which creates the POJO but makes sure it also gets registered with JMX
so not much different from the mbean really.
AFAIK the version of jboss messaging in jboss5 hasn't been "pojoized"
but there is a later version that has.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191925#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...