[
https://issues.apache.org/activemq/browse/SM-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40282
]
Guillaume Nodet commented on SM-1064:
-------------------------------------
We really need a simple xml syntax to provide endpoint filtering.
This will be a real need so that a user can add interceptors to the listeners.
For example something like
<smx:exchange-listener ref="myListener">
<smx:from-endpoint="id=myEndpoint" />
<smx:property name="myHeader" value="toto" />
</smx:exchange-listener>
would register a exchange listener with a filter to only accept exchange coming
from the endpoint named "myEndpoint" and wich have a header myHeader=toto.
This is just an example of course :-)
> Endpoint filtering and selection
> --------------------------------
>
> Key: SM-1064
> URL: https://issues.apache.org/activemq/browse/SM-1064
> Project: ServiceMix
> Issue Type: New Feature
> Reporter: Guillaume Nodet
> Fix For: 4.0
>
>
> We need to refine the org.apache.servicemix.api.Reference interface and the
> way they are build.
> It may be worth defining two interfaces for filtering, selecting, querying
> and choosing endpoint.
> This could be used to apply policies and/or interceptors to endpoints.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.