I am trying to compare a java object value in mule expression as below,
#[message.EventHandlerMessage.eventId == 'SEND_NOTIFICATION']
The above expression fails with Execution of the expression "message.EventHandlerMessage.eventId == 'SEND_IMEX'" failed. (org.mule.api.expression.ExpressionRuntimeException). Message payload is of type: EventHandlerMessage (org.mule.api.MessagingException)
java object content with Logger component
LoggerMessageProcessor- INFO - - - message="EventHandlerMessage [refId=10002, eventId=SEND_NOTIFICATION, eventRefNo=10000000001212]"
how do i compare the eventid in Eventhandler message with mule expression?
#[payload.message.eventId]
? – Avanaur