Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3795

Camel gateway doesn't work when spaces are in gateway URL

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.11 CP1
    • Fix Version/s: 4.11 CP1
    • Component/s: Adapters
    • Labels:
      None

      Description

      From : https://bugzilla.redhat.com/show_bug.cgi?id=814297

      In some Camel components there is need to have spaces in gateway URL. For
      example when used Camel SQL component[1] in ESB application, it should look
      like this:

      "esbschedule:5000:sql:select unique_id,data_column from
      camel_sql_entry_data?dataSourceRef=java:/DefaultDS"

      When you try to deploy application with exception is thrown:

      Caused by: java.net.URISyntaxException: Illegal character in opaque part at
      index 10: sql:select unique_id,data_column from
      camel_sql_entry_data?dataSourceRef=java:/DefaultDS

      This bug depends on previous bug I've reported about SQL gateway so It has to
      be resolved first.

      Deployment log and reproducer is attached.
      1. Start server
      2. Unzip reproducer to quickstarts directory
      3. Configure quickstarts.properties to target your server profile
      4. from camel_sql_spaces directory run: ant deploy

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tcunning Thomas Cunningham
                Reporter:
                tcunning Thomas Cunningham
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: