LibraryToggle FramesPrintFeedback

Routes are shut down in the reverse of the start-up order. When a start-up order is defined using the startupOrder attribute, the first route to shut down is the route with the highest integer value assigned by the start-up order and the last route to shut down is the route with the lowest integer value assigned by the start-up order.

For example, in Example 10.2, the first route segment to be shut down is the route with the ID, first, and the second route segment to be shut down is the route with the ID, second. This example illustrates a general rule, which you should observe when shutting down routes: the routes that expose externally-accessible consumer endpoints should be shut down first, because this helps to throttle the flow of messages through the rest of the route graph.

Comments powered by Disqus
loading table of contents...