[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-594) Consider having just one post office instance

Tim Fox (JIRA) jira-events at jboss.com
Thu Oct 5 04:33:41 EDT 2006


Consider having just one post office instance
---------------------------------------------

                 Key: JBMESSAGING-594
                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-594
             Project: JBoss Messaging
          Issue Type: Task
    Affects Versions: 1.0.1.CR5
            Reporter: Tim Fox
         Assigned To: Tim Fox
             Fix For: 1.2.0.Beta1


We should consider whether it is possible to have just one post office instance per server, instead of the current queue and topic post office.

We currently have two since a queue and a topic can have the same name so we would need to distinguish whether we wanted to rout to a topic or a queue in some other way.

We should also bear in mind that the post office is supposed to be generic and not have any knowledge of what a "topic" is (this is a JMS term).

In the future we will want to do wildcard based routing for topic hierarchies or content based routing, so the routing key cannot just be some "destination" class.

One possibility is to change the PostOffice interface to take a "RoutingKey" type as opposed to a string. We could then subclass or implement this interface for different post office
types.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list