You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Sergey Zolotaryov (JIRA)" <ji...@apache.org> on 2013/10/09 11:31:42 UTC
[jira] [Resolved] (CAMEL-6791) Aggregation result is lost when used
with Jetty http endpoint
[ https://issues.apache.org/jira/browse/CAMEL-6791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Zolotaryov resolved CAMEL-6791.
--------------------------------------
Resolution: Not A Problem
> 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, 2.12.1
> Environment: windows 7
> Reporter: Sergey Zolotaryov
> Priority: Minor
> 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 was sent by Atlassian JIRA
(v6.1#6144)