1 Reply Latest reply on Feb 7, 2010 4:04 AM by Claus Ibsen

    setProperty from a body expression

    Mack Fata Newbie

      Does anyone know how to set a property from the body value.

       

      I can't use .setProperty( "id" ).xpath...

      The setProperty is being called in the middle of a route.

       

      So, it needs to be something like this:

       

      .setProperty ( "id", myExpresion )

       

      So, I need to have an expression to extract a value from the body of the message. I need to use something like xpath or simple script in myExpression.

       

      Thanks