[esb-issues] [JBoss JIRA] Commented: (JBESB-1041) Why is there a CBR class (extends WireTap) and an abstract CBR class?

Kurt Stam (JIRA) jira-events at lists.jboss.org
Fri Sep 21 15:44:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBESB-1041?page=comments#action_12378140 ] 
            
Kurt Stam commented on JBESB-1041:
----------------------------------

org.jboss.soa.esb.services.routing.cbr.ContentBasedRouter is abstract (I'm going to change it to an interface now that some actual code moved into the ServiceInvoker. All CBR need to  implement this interface. This allows for plugging in other rules engines then just Drools.

org.jboss.soa.esb.actions.ContentBasedRouter is the action that delegates the calls to the class behind the interface.  

Why is this confusing? 

--Kurt

> Why is there a CBR class (extends WireTap) and an abstract CBR class?
> ---------------------------------------------------------------------
>
>                 Key: JBESB-1041
>                 URL: http://jira.jboss.com/jira/browse/JBESB-1041
>             Project: JBoss ESB
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Content Based Routing
>    Affects Versions: 4.2
>            Reporter: Mark Little
>         Assigned To: Mark Little
>            Priority: Optional
>             Fix For: 4.2.1
>
>
> This is confusing. If they do the same thing, why aren't they a single class. If not, the names should be changed.

-- 
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 esb-issues mailing list