[
https://issues.apache.org/jira/browse/CXF-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965275#action_12965275
]
Daniel Kulp commented on CXF-3158:
----------------------------------
Christian,
Last time I checked (late in the ActiveMQ 4.x cycles so may have changed) the
Active MQ BytesMessage and StreamMessage implementations just wrote everything
into a ByteArrayOutputStream and sent it all in one go anyway. Thus, using
the streaming stuff wouldn't have bought us anything at all which is why we
didn't pursue the changes at that time.
Of course, other JMS providers may be different.
Dan
> Support Streaming for the JMS transport
> ---------------------------------------
>
> Key: CXF-3158
> URL: https://issues.apache.org/jira/browse/CXF-3158
> Project: CXF
> Issue Type: New Feature
> Components: Transports
> Reporter: Christian Schneider
> Assignee: Christian Schneider
>
> Currently the JMS Transport reads or writes the full message body in one
> step. To do so it buffers the complete message in memory. For very large
> messages this consumes a lot of memory and slows down message processing.
> The JMS API allows Streaming for StreamMessages and BytesMessages. So we
> should be able to easily support this as well.
> If we use a buffer we could support configuring the buffer size.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.