Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      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.

        Activity

        Jeff Turner made changes -
        Project Import Sat Nov 27 02:31:32 EST 2010 [ 1290843092197 ]
        Hide
        Guillaume Nodet added a comment -

        Another good way of writing interceptors could also be done with annotations as shown in http://mediacast.sun.com/users/KeithBabo/media/fuji-interceptors.swf

        Show
        Guillaume Nodet added a comment - Another good way of writing interceptors could also be done with annotations as shown in http://mediacast.sun.com/users/KeithBabo/media/fuji-interceptors.swf
        Guillaume Nodet made changes -
        Assignee Guillaume Nodet [ gnt ]
        Guillaume Nodet made changes -
        Project ServiceMix 4 [ 11060 ] ServiceMix NMR [ 11040 ]
        Key SMX4-3 SMX4NMR-23
        Guillaume Nodet made changes -
        Field Original Value New Value
        Fix Version/s 4.0 [ 11845 ]
        Key SM-1064 SMX4-3
        Project ServiceMix [ 10950 ] ServiceMix 4 [ 11060 ]
        Hide
        Guillaume Nodet added a comment -

        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

        Show
        Guillaume Nodet added a comment - 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
        Guillaume Nodet created issue -

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Guillaume Nodet
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development