CXF RS and query parameters
- Dominant language
- TypeScript
- Stars
- 594
- Forks
- 215
- Avg merge
- 5d 11h
- Merged PRs (30d)
- 2
Description
### Describe the bug
The CXF-RS component does not route the query parameters correctly.
### Steps to reproduce the behavior
1. Create a simple CXF-RS that routes messages to an external endpoint

2. In "Address" field fill with an external address: http://123.123.123.123:1234
3. If the route is called with a query parameter, example: http://127.0.0.1:8080/param1/param2?param3=value
endpoint receives /param1/param2%3Fparam3=value , so the question mark is url encoded
A workaround is ToD, deleting CamelHttpPath and chaining CamelHttpUri like this:
cxfrs://http://123.123.123.123:1234/${in.header.CamelHttpUri}
but in this way I must manage manually "404 not found" with Try-Catch.
Is url encoding an expected behavior?
### Variant
Vs Code Extension
### Container Management (if applicable)
None
### Operating System (if applicable)
Linux
### Version
4.7.0
### Relevant log output
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the CXF-RS component's handling of the Address field and the CamelHttpPath/CamelHttpUri headers, then reproduce the request with a query parameter against the external endpoint described in the issue. Done means the query string is routed without encoding the question mark, while preserving the documented 404 behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100