Now i see the light!  :-o
Last question (by the moment):
How to use the same Topic with 2 or more subscribers?
Perhaps, for every subscriber, have i to indicate in
its 'jboss.xml' the same line:

<destination-jndi-name>topic/sameTopic</destination-jndi-name> ?

Regards:
__________________________________________
Jaume Soriano Sivera <[EMAIL PROTECTED]>
Tel: 965040000 -ext. 44744 Fax: 965040047
Portal y servicios multimedia - Nuevas tecnologias 
W a n a d o o E s p a n a - http://www.wanadoo.es 
__________________________________________




Per Lewau <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
15/05/2001 10:51
Please respond to jboss-user

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        Re: [JBoss-user] One more doubt about MDB



On Tue, 15 May 2001 [EMAIL PROTECTED] wrote:

> Hello again:
> 
> I'm using a Topic with (only) one subscriber (i.e. ListenerBean),
> with this assumption...
> which is the diference between using a QUEUE or a TOPIC?

None.

If you only have one subscriber and will only ever have one subscriber you
could use a Queue instead. With a topic however you could add more
subscribers if that becomes necessary, fun or whatever in the future
without having to change anything else.

Cheers

-----------------------------------------------------------------------
Per Lewau ([EMAIL PROTECTED]) 

"Why waste time learning, when ignorance is instantaneous?"
                 - Hobbes


_______________________________________________
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