Nav

To Set Conditional Breakpoints

A Conditional Breakpoint is a type of breakpoint that activates when a predefined condition evaluates to true when Studio executes the Event Processor with the breakpoint. You define the condition using a DataWeave expression.

  1. Click the breakpoint in the Mule Breakpoints View to select it.

  2. Check Conditional at the bottom of the Mule Breakpoints View.

  3. Enter the condition that must be met for the breakpoint to be activated.

For example, the following expression activates the breakpoint if the value of message property Method is GET:


         
      
1
#[message.inboundProperties['Method']=='REST']

In this topic:

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.

+