Results 1 to 3 of 3

Thread: Advice for chains of endpoints.

  1. #1
    Join Date
    May 2008
    Location
    UK
    Posts
    24

    Wink Advice for chains of endpoints.

    Hello Gary et al. The doc's for 2.2.1 have this intriguing line. :-) Is it the case that it is possible (or intended) to add this in the future. I did a quick Jira search but did not find anything relating to it.

    TIA.


    At this time, you cannot advise an entire <chain/> of endpoints. The schema does not allow a <request-handler-advice-chain/> as a child element of the chain itself.

  2. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,037

    Default

    No; unfortunately, it is not trivial to support this, because the last endpoint sends the reply - we'd have to restructure the chain handler so that the last endpoint returns the reply to it rather than sending it directly. That way, we could advise the chain of handlers, but do the final send outside of the advice.

    You are correct that there is not currently an open 'Improvement' JIRA issue for this; feel free to open one.
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

  3. #3
    Join Date
    May 2008
    Location
    UK
    Posts
    24

    Default

    Thanks for the info. :-) We are just starting to evaluate using request handler advice (Circuit Breakers) & are using chains in a number of places. I'll see how we go & log a JIRA if it seems of value.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •