I'm working on exactly this. I have it working so I can attach my source file. I cut & pasted a lot of code from the ManagerServlet class. I would like to propose refactoring the ManagerServlet class to separate the servlet specific parts and the non-servlet parts. This would facilitate reuse outside a servlet engine. I'm curious what James thinks about this.
In the mean time, here is my code. It's not pretty (I hardcoded some stuff just to get it working) but it will at least get you going. Michael > -----Original Message----- > From: Christian, William [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 06, 2002 5:05 PM > To: 'Jakarta Commons Users List' > Subject: Messenger: Subscribe.xml > > > Is the subscribe.xml specific to servlet-based > implementations? I would like to configure a listener class > to a specific topic, but I am unclear if I need to > instantiate the class before it can listen or how to > configure messenger to use the subscribe.xml to determine > applicable listeners. A short example of its usage would be > great! I've reviewed the code, but got lost in the details. > > Thanks for the help > billc > > >
PingTopicListener.java
Description: Binary data
MessageManager.java
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
