You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Kevin Conaway (JIRA)" <ji...@apache.org> on 2009/04/21 17:05:47 UTC
[jira] Commented: (CXF-2181) Dynamic Dispatch classes should cache
MessageFactory instances
[ https://issues.apache.org/jira/browse/CXF-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701172#action_12701172 ]
Kevin Conaway commented on CXF-2181:
------------------------------------
I noticed in your commit that you're only reusing the MessageFactory inside each DatabindingInterceptor interface. As far as 2.2 is concerned, an In/Out DatabindingInterceptor gets created for each request/response so creating the MessageFactory instances inside the interceptors won't buy much.
Is that behavior changed in the trunk?
> Dynamic Dispatch classes should cache MessageFactory instances
> --------------------------------------------------------------
>
> Key: CXF-2181
> URL: https://issues.apache.org/jira/browse/CXF-2181
> Project: CXF
> Issue Type: Improvement
> Components: JAX-WS Runtime
> Affects Versions: 2.2
> Reporter: Kevin Conaway
> Assignee: Daniel Kulp
> Fix For: 2.0.11, 2.1.5, 2.2.1
>
> Attachments: cxf-2181.patch
>
>
> From this mailing list thread: http://www.nabble.com/Caching-MessageFactory-instances-tt23148305.html
> MessageFactory#newInstance is an expensive operation. It is currently called twice in a normal request/response cycle when using dynamic dispatch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.