[
https://issues.apache.org/jira/browse/CAMEL-6791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Zolotaryov updated CAMEL-6791:
-------------------------------------
Attachment: test.zip
unit test project
> Aggregation result is lost when used with Jetty http endpoint
> -------------------------------------------------------------
>
> Key: CAMEL-6791
> URL: https://issues.apache.org/jira/browse/CAMEL-6791
> Project: Camel
> Issue Type: Bug
> Components: camel-http
> Affects Versions: 2.9.0
> Environment: windows 7
> Reporter: Sergey Zolotaryov
> Attachments: test.zip
>
>
> We have a requirement to return the result of some processing in an HTTP
> response. Here's how this looks:
> Jetty http endpoint triggers processing ->
> data is retrieved into an iterator ->
> multiple renderers process the model objects and write output to temporary
> files ->
> a file endpoint copies files to final destination ->
> an aggregator puts generated file names into exchange body as a list ->
> the camel servlet renders the exchange body
> Everything goes well until the final step, where we can only see the
> filenames of temporary files, but not the final ones. Looks like the
> aggregation result is just ignored. I am attaching an eclipse project where
> you can just see how it happens.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira