Magnus, When could we expect the durable subscription-type tag to work? Currently it does not work. I have used resource-provider to connect my MDB to an external JMS server and I noticed that if I set the subscription-type to durable then when I use my declared connectionfactories in resource-provider to send messages to the same topic that my mdb is listening to I do not receive those messages in my mdb. It seems that you are creating a subscriber and if durable is set then you are setting the boolean value that tells the subscriber whether to pick up messages that it sent in to false. Just a guess though. Just curious,thanks, Tim Pouyer
On Fri, 2001-10-19 at 04:41, Magnus Rydin wrote: > Hi. > > 1) In 1.5.3 Orion will tell you if you havent implemented MessageDrivenBean > and MessageListener in your MDB. > > 2) Orion will use the default JMS resource if you dont specify a > destination-location etc in orion-ejb-jar.xml. > > ResourceProviders, made public in 1.5.2, lets you use 3rd party resources in > a very simple way. A document on this issue is in progress and will be > released shortly, with examples, samples and details. > > A MDB document is also in progress, but other documents have higher prio > right now. > WR > > > > > -----Ursprungligt meddelande----- > > Från: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]För Romen Law > > Skickat: den 19 oktober 2001 03:39 > > Till: Orion-Interest > > Ämne: RE: MDB in orion 1.5.2 using Queue > > > > > > ello, > > > > Thanks for all the replies. > > > > I must apologise: my MDB using Queue was working all along. It's > > just that I > > was using System.out.println() for logging so I couldn't see it on the > > console. But after using log4j I could see it. Well, there is > > first time for > > everything. > > > > I did find two things though: > > 1. someone posted before saying that in Orion you should not make MDB > > implement MessageListener, otherwise it will not work. I found that to be > > false. > > > > 2. I still do need to modify the destination-location in > > orion-ejb-jar.xml. > > If I don't it still works provided that I only have one <Queue> or <Topic> > > defined in jms.xml. Orion seems to use that one disregarding the > > queue name > > you specify in the sender. > > > > cheers > > romen > > > > > > >