Red Hat Bugzilla – Bug 814297
Camel gateway doesn't work when spaces are in gateway URL
Last modified: 2018-03-29 17:48:41 EDT
Created attachment 578662 [details]
In some Camel components there is need to have spaces in gateway URL. For example when used Camel SQL component 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
Created attachment 578664 [details]
Tom Cunningham <firstname.lastname@example.org> made a comment on jira JBESB-3795
URI-encode the URI, but make sure we decode spaces before sending the URI to Camel as a route.
Tom Cunningham <email@example.com> updated the status of jira JBESB-3795 to Resolved
Tom Cunningham <firstname.lastname@example.org> updated the status of jira JBESB-3795 to Closed
Committed in revision 38075.
Should be in ER3.
Good work. Verified in SOA-P 5.3 ER3.
Setting technical note to negative. I assume as impacted version is 5.3 and fix is 5.3 that the public never saw this.