Implementing a Message-Driven Bean in Orion.
(Tested with orion 1.5.4)
1.) == The MDB code - LogBean
package mycode.ejb.mdb;
import javax.ejb.*;
import javax.jms.*;
public class LogBean implements MessageDrivenBean, MessageListener {
protected MessageDrivenContext
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
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
Are you new to this mailing list?
There are countless postings regarding Orion MDBs.
IMHO, you can't get much more bleeding edge than Orion.
Check the archives...
- Joe
-Original Message-
From: El Jeffo [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Wednesday, November 14,
Are you new to this mailing list?
No just usually deaf :) and blind... does it surprise you?
There are countless postings regarding Orion MDBs.
I hate it when my brain filters out this stuff... must have passed
right under my nose while I wasn't interested in MDBs. Then suddenly
I get
Title: RE: Message driven beans
This is the same mistake I did and I struggled for a week to know what went wrong.
You need not modify the jms.xml especially don't add any connection-factory. All the modification you need in jms.xml is add your Queue or Topic thats it.
You need to modify
If the observable (sender) has knowledge of who the
observers/listeners are, you can use the MessageDrivenBean as a
notification service. The observable delegates notification to the
MessageDrivenBean, and includes recipients as part of the message.
There will be just one instance of the
This
is a serious hack, but...
Make
your bean kill itself when it responds to a message.
Sometimes all you have is the suicide solution. :)
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]Sent: Friday, February 02, 2001
What is the problem with message queues? I've used
them succesfully
--- [EMAIL PROTECTED] wrote:
I've got a message-driven bean listening to a topic.
(Yes, I know, queues
would be better, but the queue/message driven
mechanism has a problem, last
I checked.) However, every message
How do you make it "kill itself?"
On Fri, 2 Feb 2001, Russ White wrote:
This is a serious hack, but...
Make your bean kill itself when it responds to a message.
Sometimes all you have is the suicide solution. :)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
10 matches
Mail list logo