The docs are on their way, hopefully I get it out today. I would like to add the following information to the info given below:
1) We have an example RP that you can use for this kind of resource: http://www.orionserver.com/interfaces/ContextScanningResourceProvider.java 2) You only need to edit the message-driven-deployment tag if your application would use more than one resouce providers for the same resource. The first Resource Provider added to provide a certain resource will become the default for this resource. 3) To utilize a RP outside of an MDB, look the RP up with something like: java:comp/resource/providerName/resourceName Where providerName is the name of the Resource-Provider and resourceName is the name of a resource this Resource-Provider provides. WR > -----Ursprungligt meddelande----- > Från: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]För Tim Pouyer > Skickat: den 16 november 2001 00:18 > Till: Orion-Interest > Ämne: RE: Message Driven Beans > > > Magnus has said that documentation on MDB and resource provider would be > comming sortly but that was some time ago so here goes nothing: > > First off if you want to get your MDB's to listen to a 3rd party JMS > implementation you will need to write a class that implements the > ResourceProvider interface provided by orion. This interface is not > documented anywhere so you will just have to look at my example below. > This is a fairly simple interface to implement, I have provided my > implementation below which is mostly borrowed from a post that was on > this mailing list a few months ago except that implementation was for > TIBCO JMS and mine is for FioranoMQ, but you should be able to modify it > for MQSeries. > > Next you will have to provide some additional xml tags in your > orion-application.xml file. These tags will tell orion what class to > load when looking up external resources ie. your ResourceProvider > implementation. You will notice how some of the tag names will match > with values found in the ResourceProvider implementation so that you may > use these values in your implementation without having to rebuild your > class if you want to change topics,queues,tcfs, or qcfs. I have > provided and example orion-applications.xml file for you so that you can > see what these tags are and where they should be placed in the file. > > Finaly you will have to tell your MDB what topic or queue and what tcf > or qcf to listen to. This is done in your orion-ejb-jar.xml file. I > will assume that you know how to set up the ejb-jar.xml file for an > MDB. In the <message-driven-deployment> tag you will need as > attributes: > > name="name-you-gave-in-ejb-jar.xml-file" > destination-location="java:comp/resource/NameOfResourceProvider/to > pics.Name-0f-topic" > connection-factory-location="java:comp/resource/NameOfResourceProv > ider/Name-Of-TCF" > min-instances="Some-Number" this can be set to more plus you can supply > a max-instances="Some-Number" value as well. > > Now all you have to do is package everything up and deploy it inside > orion. Nifty huh! > > > On Thu, 2001-11-15 at 07:56, Kaseman, Mark T wrote: > > I have tried searching the mail archives on www.orionserver.com and at > > www.atlassian.com for details on making mqseries work with orion, but I > > can't seem to find any details. > > > > -----Original Message----- > > From: Scott Farquhar [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, November 14, 2001 9:30 PM > > To: Orion-Interest > > Subject: Re: Message Driven Beans > > > > > > Jeff, > > > > You can setup Orion to use another JMS provider if you want to use > > another JMS provider such as Sonic MQ or MQ Series. > > > > This allows you to have the speed and flexibility of Orion for > EJB & Web > > (where it excels), and the reliability of a 3rd party JMS provider. > > > > We have clients who have this setup, and are quite happy with it. > > > > Cheers, > > Scott > > > > -- > > Scott Farquhar :: [EMAIL PROTECTED] > > > > Atlassian :: http://www.atlassian.com > > Supporting YOUR J2EE World > > > > > > El Jeffo wrote: > > > > > I must have totally missed it, does orion or will orion support > > > message driven beans soon? If so, could you provide a few details > > > to just point me in the right direction? > > > > > > If orion won't support this in the next month, would you recommend > > > another server which might do the job well? > > > > > > I like orion for its simplicity, but sometimes I need more > > > bleeding edge stuff too. > > > > > > Jeff > > > > > > > > > > > > > > > > > > >