You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2011/02/10 10:09:57 UTC
[jira] Updated: (SMX4NMR-200) Add support for building Wires with a
matcher at the from end and dynamic endpoint properties at the to end
[ https://issues.apache.org/jira/browse/SMX4NMR-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated SMX4NMR-200:
-----------------------------------------
Fix Version/s: (was: 1.4.0)
1.5.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.3.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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira