Re: [JBoss-user] One more doubt about MDB(2)

2001-05-15 Thread jsoriano

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-nametopic/sameTopic/destination-jndi-name ?

Regards:
__
Jaume Soriano Sivera [EMAIL PROTECTED]
Tel: 96504 -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



Re: [JBoss-user] One more doubt about MDB(2)

2001-05-15 Thread Per Lewau


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

 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-nametopic/sameTopic/destination-jndi-name ?

Correct. At least I hope so since I haven't tested it, but there is no
other way ;)

 
 Regards:
 __
 Jaume Soriano Sivera [EMAIL PROTECTED]
 Tel: 96504 -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
 

---
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