servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Vanthienen (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SMX4NMR-200) Add support for building Wires with a matcher at the from end and dynamic endpoint properties at the to end
Date Tue, 06 Dec 2011 09:17:40 GMT

     [ https://issues.apache.org/jira/browse/SMX4NMR-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gert Vanthienen updated SMX4NMR-200:
------------------------------------

    Affects Version/s:     (was: 1.3.0)
                       1.6.0

Deferring to NMR 1.6.0
                
> 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/jira/browse/SMX4NMR-200
>             Project: ServiceMix NMR
>          Issue Type: Improvement
>    Affects Versions: 1.6.0
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: 1.5.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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message