1 Reply Latest reply on Jul 24, 2014 2:24 PM by kcbabo

    SY 1.1 with Camel 2.13

    zoul.akhdar

      Hi there,

       

      I'm new with SY and i have a 'little problem' , i need to use JSonPath  (http://camel.apache.org/jsonpath.html) in a java based camel route component/implementation to do something like this :

       

      from("queue:books.new")

       

        .choice()

          .when().jsonpath("$.store.book[?(@.price < 10)]")

            .to("jms:queue:book.cheap")

          .when().jsonpath("$.store.book[?(@.price < 30)]")

            .to("jms:queue:book.average")

          .otherwise()

            .to("jms:queue:book.expensive")

      i'm using JBoss EAP 6.1 and SY 1.1 (Camel 2.1 is shipped with SY1.1) the problem is JSonPath is available since Camel 2.13.

      My question is, it's possible to update SY1.1 with Camel 2.13 ?

       

      In the same way my application need to use OptaPlanner (Camel provide this component) but in 2.13 version.

       

      thanks

        • 1. Re: SY 1.1 with Camel 2.13
          kcbabo

          It's not going to be easy to upgrade SY 1.1 to Camel 2.13.  When we upgraded to Camel 2.12 for SY 2.0, I'm pretty sure there were some changes we had to make based on some behavior differences between Camel 2.10 and 2.12.  Does camel-jsonpath have a hard dependency on Camel 2.13 or can you run the 2.13 version of camel-jsonpath on 2.10?  If you can, then you don't have to upgrade Camel at all and you can just use camel-jsonpath as an extension:

           

          https://docs.jboss.org/author/display/SWITCHYARD/Extensions