You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2007/10/05 09:06:27 UTC

[jira] Commented: (SM-1064) Endpoint filtering and selection

    [ 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.