JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5621

Should allow <when> to be standalone

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 3.1.2
  • Fix Version/s: None
  • Component/s: Core: Routing / Filters
  • Labels:
    None
  • User impact:
    High
  • Similar Issues:
    None

Description

Currently today it is not easy to put in a Mule flow something that you want to have happen if a condition is meet. It should be possible to put a <when> element directly under the flow so that you could have things like the following:

<flow name="main">
<when expression="payload='test'" evaluator="groovy">
<component>
</when>
</flow>

This would clean up a number of my flows dramatically. Also currently today using <choice> if you do not specific an otherwise and none of the when's match the message is just dropped when is not intuitive to the user and thus goes against easy on.

Issue Links

relates to

Improvement - An improvement or enhancement to an existing feature or task. MULE-6129 Change default behavior for Choice when no otherwise Processor is set

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds

People

  • Assignee:
    Daniel Feist
    Reporter:
    Roko Kruze
Vote (0)
Watch (0)

Dates

  • Created:
    28/Jun/11 01:02 PM
    Updated:
    01/Jun/12 08:10 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.