2 Replies Latest reply on Feb 25, 2010 12:34 AM by Claus Ibsen

    Message filter using DSL filter(xpath()) doesn't compile

    Louis Naber Newbie

      I get "method xpath is undefined " when I attempt to use the message filter as shown in the documentation.

       

      from("jbi:endpoint:http://progress.com/demos/test/messageFilter/endpoint").

        filter(xpath("count(/test:world) = 1")).

        to("jbi:service:http://progress.com/demos/test/trace3");

       

      Is there a special import to use xpath ?