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:property name="myHeader" value="toto" />
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