This content has been marked as final.
Show 2 replies
-
1. Re: Two PostOffices?
timfox Sep 27, 2006 6:01 PM (in response to clebert.suconic)Yes, one is for queues and the other is for topics.
We need two since it's possible to install a queue and a topic with the same name. -
2. Re: Two PostOffices?
clebert.suconic Sep 27, 2006 10:41 PM (in response to clebert.suconic)Ah... this is just because of the names... Ok... got it.
I Just wonder if wouldn't be better to use composed object keyts than two PostOffices.
This is just an idea. Something like:public class Key { String name; int type; // 1 for queue, 2 for topic ... implementing hashes and equals }