0 Replies Latest reply on Mar 16, 2015 6:49 AM by gcollin

    Studio wrongfully find an error in switchyard / camel file

    gcollin

      Hello all,

       

      Using latest version of JBoss tools, including early access of JBoss Fuse tools,

      When I add the following into a camel.xml route:

       

      <to uri="sql://update%20toupdate%20set%20update_status='SENT',%20exchange_id=#%20where%20update_id=#?dataSourceRef=java%3Ajboss%2Fdatasources%2FsourceDS"/>

       

      Eclipse reports an error (because there are 2 # into the url), whereas this is a valid and working uri.

       

      The error:

      Description    Resource    Path    Location    Type

      The URI specified in the Camel route for the TO in component "Select" is invalid. Please fix this issue: Illegal character in fragment at index 90: sql://update%20toupdate%20set%20update_status='SENT',%20exchange_id=#%20where%20update_id=#?dataSourceRef=java%3Ajboss%2Fdatasources%2FsourceDS     switchyard.xml    /SrcOutBatch/src/main/resources/META-INF    Unknown    SwitchYard

       

      Regards,