[
https://issues.apache.org/jira/browse/CAMEL-9299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
prathamesh updated CAMEL-9299:
------------------------------
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:
{code}
<recipientList>
<simple>jetty:http://localhost:9001/listen?chunked=false</simple>
</recipientList>
{code}
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 | https://issues.jboss.org/browse/MR-688] . However in this
case the 'chunked' option is used for a Consumer endpoint.
{code}
<from
uri="jetty:http://0.0.0.0:8299/test2?matchOnUriPrefix=true&chunked=false" />
{code}
It is not mentioned in the [camel-jetty doc |
http://camel.apache.org/jetty.html] 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 {noformat}http://localhost:9001/listen{noformat}
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?
was:
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:
{code}
<recipientList>
<simple>jetty:http://localhost:9001/listen?chunked=false</simple>
</recipientList>
{code}
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 | https://issues.jboss.org/browse/MR-688] . However in this
case the 'chunked' option is used for a Consumer endpoint.
{code}
<from
uri="jetty:http://0.0.0.0:8299/test2?matchOnUriPrefix=true&chunked=false" />
{code}
It is not mentioned in the [camel-jetty doc |
http://camel.apache.org/jetty.html] 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 {noformat}http://localhost:9001/listen{noformat}
Not sure what is happening here. I had expected this to fail with a 404 like
with the chunked option.
> Not able to use chunked option for a jetty endpoint.
> ----------------------------------------------------
>
> Key: CAMEL-9299
> URL: https://issues.apache.org/jira/browse/CAMEL-9299
> Project: Camel
> Issue Type: Bug
> Components: camel-jetty
> Reporter: prathamesh
>
> 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:
> {code}
> <recipientList>
> <simple>jetty:http://localhost:9001/listen?chunked=false</simple>
> </recipientList>
> {code}
> 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 | https://issues.jboss.org/browse/MR-688] . However in this
> case the 'chunked' option is used for a Consumer endpoint.
> {code}
> <from
> uri="jetty:http://0.0.0.0:8299/test2?matchOnUriPrefix=true&chunked=false"
> />
> {code}
> It is not mentioned in the [camel-jetty doc |
> http://camel.apache.org/jetty.html] 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 {noformat}http://localhost:9001/listen{noformat}
> 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?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)