Ok, I got it!  The problem is this:  The subscriptions.xml that you link
to from the web page:

http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/messenger/src/weba
pp/conf/subscriptions.xml?rev=1.6&content-type=text/vnd.viewcvs-markup

Is out of sync with the latest nightly build.  The latest file is in the
src/conf directory in the nightly build.  When I updated my
subscriptions.xml file using the example in src/conf it works fine.

Thank you for your help.  I will say to everyone that I've eliminated a
lot of code using the Messenger library.  Posting a message takes 4
lines of code instead of 20+.  I especially like registering for events
with MDO's (lightweight MDBs for people not using EJB) using XML files.
So far Messenger works great and I'm looking forward to its official
release!

Michael  

> -----Original Message-----
> From: James Strachan [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, August 28, 2002 12:35 PM
> To: Jakarta Commons Users List
> Subject: Re: [Messenger] - Problem subscribing for JBossMQ topics
> 
> 
> 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=Destinat
> > io
> > nManager</depends>
> >     <depends
> > 
> optional-attribute-name="SecurityManager">jboss.mq:service=Sec
> urityManag
> > 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:commons-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to