Pros and Cons of using Choice Router in Mule -


hi working mule. have multiple flows. selection multiple flow based on choice router. want know pros , cons of using choice router . how maximum use of choice router effect performance.

how choice router works internally , how upgrade , degrade performance.

notes:

  • as general principle, time spent in choice router orders of magnitude less mule spends waiting on i/o systems in interacts with. don't worry performance beforehand, load test , measure.
  • choice routers short circuit @ first route expression true performance affected number of routes have.
  • performance affected type , complexity of expression run.

tips:

  • consider nesting choice routers, refining options in nested routers. extract nested routers in private flows, , call them flow-ref, readability.
  • pre-compute decision expressions , store them in flow variables: example don't run same xpath expression in different routes pre-compute , store it, use flow variable in expressions.

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -