servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Vanthienen (JIRA)" <j...@apache.org>
Subject [jira] Created: (SMX4NMR-200) Add support for building Wires with a matcher at the from end and dynamic endpoint properties at the to end
Date Fri, 02 Jul 2010 10:14:51 GMT
Add support for building Wires with a matcher at the from end and dynamic endpoint properties
at the to end
-----------------------------------------------------------------------------------------------------------

                 Key: SMX4NMR-200
                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-200
             Project: ServiceMix NMR
          Issue Type: Improvement
    Affects Versions: 1.4.0
            Reporter: Gert Vanthienen
            Assignee: Gert Vanthienen
             Fix For: 1.6.0


Currenty, when defining an NMR wire, we explicitly define the from end with all the endpoint
properties.  If we change the API for the Wire interface to allow matching a property set,
we can create multi-ended wires, which can be useful for generically handling/redirects some
requests, e.g. while migrating namespaces/service names
`
For example:
{code}
public interface Wire {

  public boolean matches(Map properies);

  public Map getTarget(Map properties);

}
{code}

If we keep the existing ServiceHelper.createWire() method, we can even do this without breaking
the existing use of Wires .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message