-
1. Re: How to confirm JBoss AS 6 messaging is running/enabled
welle Aug 19, 2010 10:28 AM (in response to imitchell)1 of 1 people found this helpfulI havent started to use AS 6 myself yet but isn't queues and topics defined in "$JBOSS_HOME/server/XXX/deploy/hornetq/hornetq-jms.xml" when HornetQ is used?
-
2. Re: How to confirm JBoss AS 6 messaging is running/enabled
imitchell Aug 19, 2010 10:40 AM (in response to welle)Hello Anders - thanks for responding - yes they are defined there.
Also, reading your reply I realized I could simply check server.log to see what was started!
This is what I saw:
boot.log:15:31:08,268 INFO [HornetQServerImpl] HornetQ Server version 2.1.0.BETA3 (Hungry Hornet, 117) started
boot.log:15:31:18,594 INFO [HornetQResourceAdapter] HornetQ resource adaptor started
So it looks like HornetQ is up and running - now if I could only figure what the heck I am doing wrong when i deploy to it.
Take a quick peek at the below issue if you have chance (it is related to the topic)https://community.jboss.org/message/558023#558023
Thanks
-
3. Re: How to confirm JBoss AS 6 messaging is running/enabled
welle Aug 19, 2010 11:09 AM (in response to imitchell)Hmm...
It seems like you are trying to deploy a Topic called ianTest using the mbean solution. I'm not sure it you can do that in HornetQ (anyone else know this for sure?)
<mbean code="org.jboss.jms.server.destination.TopicService"
name="jboss.messaging.destination:service=Topic,name=ianTest"
xmbean-dd="xmdesc/Topic-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>I believe (i'm far from sure as I haven't started using JBoss 6 yet) that you have to put the topic def. into "$JBOSS_HOME/server/XXX/deploy/hornetq/hornetq-jms.xml":
<topic name="ianTest">
<entry name="/topic/ianTest"/>
</topic>