| Summary: | Camel gateway doesn't work when spaces are in gateway URL | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Robert Balent <rbalent> | ||||||
| Component: | 3rd Party | Assignee: | Nobody <nobody> | ||||||
| Status: | VERIFIED --- | QA Contact: | Matej Melko <mmelko> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 5.3.0 GA | CC: | soa-p-jira, tcunning | ||||||
| Target Milestone: | ER3 | ||||||||
| Target Release: | 5.3.0 GA | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 5.3.0 GA | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | Type: | Bug | |||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | 814214 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
Created attachment 578664 [details]
Bug reproducer
Tom Cunningham <tcunning> 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 <tcunning> updated the status of jira JBESB-3795 to Resolved Tom Cunningham <tcunning> 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. Thanks. Setting technical note to negative. I assume as impacted version is 5.3 and fix is 5.3 that the public never saw this. |
Created attachment 578662 [details] camel_sql_spaces_deploy.log 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