Same problem with 4.2.2
MDB
MessageDriven( activationConfig = {
| @ActivationConfigProperty( propertyName = "destinationType",
| propertyValue = "javax.jms.Queue" ),
| @ActivationConfigProperty( propertyName = "destination",
| propertyValue = "queue/hibernatesearch"
)
| //@ActivationConfigProperty( propertyName = "maxSession",
propertyValue = "1")
| } )
jbossmq-destinations-service.xml
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=hibernatesearc
| h">
| <attribute name="JNDIName">queue/hibernatesearch</attribute>
| <depends
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
| <depends
optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
| <attribute name="SecurityConf">
| <security>
| <role name="guest" read="true" write="true"
create="true"/>
| <role name="publisher" read="true"
write="true" create="true"/>
| <role name="durpublisher" read="true"
write="true" create="true"/>
| </security>
| </attribute>
| </mbean>
If I don't specify in the configuration it attempts to create a tempory queue on
startup then throws an NPE!?
This is pretty critical.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174142#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...