Free MuleSoft CONNECT Keynote & Expo Pass Available!

Register now+
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: