Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
Unknown
Description
I have a camel route deployed in Fuse. The route is used to send requests to a endpoint. i am using camel spring DSL as shown below:
<recipientList>
<simple>jetty:http://localhost:9001/listen?chunked=false</simple>
</recipientList>
I have a python script running where i am expecting the requests for endpoint : http://localhost:9001/listen
I have seen 'chunked' used to disable chunking behavior in one example route listed in MR-688 . However in this case the 'chunked' option is used for a Consumer endpoint.
<from uri="jetty:http://0.0.0.0:8299/test2?matchOnUriPrefix=true&chunked=false" />
It is not mentioned in the camel-jetty doc that 'chunked' can only be used for consumer endpoint.
In my route when chunked is used the route tries to send the request to http://localhost:9001/listen?chunked=false and fails with 404 since my endpoint is a POST endpoint. However if option like enableJmx is used then the request is send to
http://localhost:9001/listen
Not sure what is happening here. I had expected this to fail with a 404 like with the chunked option.
Can the 'Chunked' option be used for a Consumer endpoint only?
Attachments
Attachments
Issue Links
- is related to
-
CAMEL-5821 Camel Jetty chunked parameter appears broken
- Resolved