Geoff,
It IS fixed in 1.5.4, so please let us know what fails for you.
Here is a sample setup:
1. Set up and start SwiftMQ.
2. In your /config/application.xml have a setup like the following:
<resource-provider
class="com.evermind.server.deployment.ContextScanningResourceProvider"
display-name="SwiftMQ resource" name="SwiftMQ" >
<description>
SwiftMQ resource provider.
</description>
<property name="java.naming.factory.initial"
value="com.swiftmq.jndi.InitialContextFactoryImpl" />
<property name="java.naming.provider.url" value="smqp://localhost:4001"
/>
<property name="resource.names"
value="testtopic,testqueue@router1,plainsocket@router1" />
</resource-provider>
3. Start Orion, deploy the ATM sample (it uses a MDB with a topic)
4. Configure the ATM sample to use your resource provider with something
like the following in your orion-ejb-jar.xml:
<message-driven-deployment name="mainLogger"
destination-location="java:comp/resource/SwiftMQ/testtopic"
connection-factory-location="java:comp/resource/SwiftMQ/plainsocket@rout
er1">
<ejb-ref-mapping name="ejb/mainLog" />
</message-driven-deployment>
Could you please let me know where/how this fails for you?
WR
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Geoff Soutter
Sent: den 18 februari 2002 02:50
To: Orion-Interest
Subject: RE: A word of warning: SwiftMQ and Resource providers.
FYI, this was not fixed in 1.5.4.
Naughty Magnus! :-)
Geoff
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Ray Harrison
Sent: Monday, 14 January 2002 8:50 AM
To: Orion-Interest
Subject: Re: A word of warning: SwiftMQ and Resource providers.
According to Magnus R, the problem will be fixed in the next release. I
don't know if you can use SwiftMQ / Topics with the Oracle code base
(OC4J), but maybe worth a shot. Hopefully soon from the good folks at
Orion!
--- Graham Bennett <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 20, 2001 at 12:29:54PM +0200, Lachezar Dobrev wrote:
> > Recently looking at the Resource-Providers docs, and EAGER to use
> > an external JMS for my MDBs I and a colleague decided to run the
> > demos. As quite a surprise the demo run ok. The MDB did
everything
> > when a message was sent to the Queue.
> >
> > The BIG disappointment was, when we tried to do the same with the
> > topic. In short: It does not work.
> >
> > Error deploying
> > file:/D:/Temp/Orion/applications/Orion2SwiftMQ/Orion2SwiftMQ.jar
> > homes: JMS Error: Queue 'testtopic' is not local! Can't create a
> > Consumer on it!
>
> has this now been fixed? I'm getting the same error with SwiftMQ and
> the latest build.
>
> cheers,
>
> --
> Graham Bennett
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/