Announcement Announcement Module
No announcement yet.
Advice for chains of endpoints. Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

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


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


    • #3
      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.