Not tested on JbossMQ, however, it should not. You have to use filter to
make sure of that. To make an instance-specific filter, I guess the worst
case is you need a IDgenerator (some discussions in this mailing before,
or, go to theserverside.com ), esp. if you have multiple instances of jboss
and jbossMQs. However, you may just use the string form of the ejb's
instance ID (not sure how unique it can last, should be longer thatn
30mins?)

Kai


                                                                                       
                                                   
                    <[EMAIL PROTECTED]>                                            
                                                   
                    Sent by:                            To:     
[EMAIL PROTECTED]                                          
                    [EMAIL PROTECTED]        cc:                            
                                                   
                    eforge.net                          Subject:     Re: [JBoss-user] 
Callbacks with MessageDrivenBeans                   
                                                                                       
                                                   
                                                                                       
                                                   
                    05/07/2001 11:20 AM                                                
                                                   
                    Please respond to jboss-user                                       
                                                   
                                                                                       
                                                   
                                                                                       
                                                   




Hi,

I've got a rather conceptual problem regarding Message-driven Beans.

I basically want to realise the following :
We have the two EJBs : ejbA ejbB and ejbC

ejbA has been asked by a client to execute its "askejbB" method.

ejbB is messagedriven, is notified of the request from ejbA, and finds out
that it needs information from ejbC.
It then contacts ejbC, which is also messagedriven.
ejbC may have to wait very long to provide the information, up to 30
minutes.
there are 3 instances from ejbB active at the moment, each of them is
respectively waiting for answer from 3 instances from ejbC.

so ejbB1, ejbB2, ejbB3, are waiting for ejbC1, ejbC2, ejbC3

the problem I have is with the notion of "topic" :
suppose ejbB1 is listening for the topic "order", to which the ejbC's are
writing to.

How can I guarantee that it will be instance-specific ?

Bye, Jubin



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user





_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to