Hi Michael
I don't have JBossMQ installed right now so I can't verify this, so I'll
take a random guess :-)
Maybe ensuring that JNDI is used to lookup destinations might help. I
noticed that the MessengerJBoss.xml didn't have JNDI enabled destinations
enabled for the topic connection, yet it did for the queue connection some
reason - this is probably a bug.
e.g. try adding the jndiDestionations property...
<messenger name="topic" jndiDestinations="true">
<jndi ...>
James
-------
http://radio.weblogs.com/0112098/
----- Original Message -----
From: "Michael" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 27, 2002 10:47 AM
Subject: [Messenger] - Problem subscribing for JBossMQ topics
> I have installed the Messenger libraries and added them to my webapp. I
> copied the EchoMDO object and now I'm trying to have it received a topic
> but it is not receiving any messages. I have everything working without
> the Messenger library so I believe I have my JBossMQ configured
> correctly.
>
> I didn't change MessengerJBoss.xml except to rename it Messenger.xml.
> Is this OK?
>
> In subscriptions.xml I have:
>
> <subscription messenger="topic" destination="topic/pingTopic">
> <listener className="com.idtect.oemserver.message.EchoMDO"/>
> </subscription>
>
> And in my destinations-service.xml file for JBossMQ I have:
>
> <mbean code="org.jboss.mq.server.jmx.Topic"
> name="jboss.mq.destination:service=Topic,name=pingTopic">
> <depends
> optional-attribute-name="DestinationManager">jboss.mq:service=Destinatio
> nManager</depends>
> <depends
> optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManag
> er</depends>
> <attribute name="SecurityConf">
> <security>
> <role name="guest" read="true" write="true"/>
> <role name="publisher" read="true" write="true" create="false"/>
> <role name="durpublisher" read="true" write="true"
> create="true"/>
> </security>
> </attribute>
> </mbean>
>
> I believe I have everything configured right but I'm not sure. Any help
> would be appreciated.
>
> Michael
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>