|
From: Bill H. <Bil...@Ac...> - 2003-09-17 00:57:38
|
The JMS scanner that is in 1.1.9 seems to look in a queue and seems to be set up to do so based on the doScan() call (from ScannerWorker?). I'm not sure this will work, as my queue will discard messages for which there is no active receiver when the message arrives. In any case, what I really need is a persistent queue and a durable consumer for the pub/sub type of JMS queue, so I've taken JMS Scanner and written a new JmsTopicScanner that takes a config file to identify the topic, persistent/non-persistent, and durable/non-durable consumer. (as well as other config requirements). I've currently put it under scanner rather than j2ee, as I was not sure about whether the j2ee stuff had to run as EJB's under an app server and wanted to avoid that, so I just put it into the standard scanner package. I can change that later based on your preferences. Anyway, it is beginning to run, and ScannerWorker seems to find it based on the ScannerWorker.config file, but I need some pointers about who's in control. Based on my (so far ligh)t reading of the code, ScannerWorker calls the scanner doScan() method based on a time setting. However, what I want is that the scanner is a registered JMS consumer that gets a onMessage(message) call-back (from JMS) when a message arrives, and then it will process the message and enqueue it. Thus, no doScan() required. Is there a control issue here? Can I make ScannerWorker wait forever? Thanks, Bill On 11 Sep 2003 at 19:09, Bruce McDonald wrote: > No real documentation - I would appreciate if you could add the > necessary config options descriptions. > > On Wednesday 10 September 2003 06:37 pm, Bill Harrelson wrote: > > Yep, it's there, silly me, I was looking in babeldoc-scanners.jar. > > > > Thanks, > > > > Bill > > > > (is there doc. for it, or do I need to download the source and read > > that?) > > > > On 10 Sep 2003 at 14:06, McDonald, Bruce wrote: > > > Its not in 1.1.9???? Check in the j2ee module. > > > > > > -----Original Message----- > > > From: Bill Harrelson [mailto:Bil...@Ac...] > > > Sent: Wednesday, September 10, 2003 11:38 AM > > > To: Bab...@li... > > > Subject: [Babeldoc-devel] JMS Scanner > > > > > > > > > I think I remember that someone on the development list was > > > writing a JMS scanner and JMS writer, and I'm about to need one. > > > > > > I've been playing around with 1.1.9, but I don't find it in there. > > > Has it been checked in? Is it available? Do I need to write it? > > > > > > Thanks, > > > > > > Bill > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Babeldoc-devel mailing list > > > Bab...@li... > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |