You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2017/03/24 14:50:41 UTC

[jira] [Resolved] (CXF-6907) CXF-WSN improvment in onMessage listenner

     [ https://issues.apache.org/jira/browse/CXF-6907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-6907.
------------------------------
       Resolution: Fixed
         Assignee: Daniel Kulp
    Fix Version/s: 3.1.11
                   3.0.13
                   3.2.0

> CXF-WSN improvment in onMessage listenner
> -----------------------------------------
>
>                 Key: CXF-6907
>                 URL: https://issues.apache.org/jira/browse/CXF-6907
>             Project: CXF
>          Issue Type: Improvement
>          Components: JMS, Services
>    Affects Versions: 3.0.5
>         Environment: ServiceMix bundle
>            Reporter: Mançaux Pierre-Alexandre
>            Assignee: Daniel Kulp
>            Priority: Trivial
>              Labels: easyfix, perfomance
>             Fix For: 3.2.0, 3.0.13, 3.1.11
>
>
> hello,
> i m using servicemix with apache-cxf-wsn as a bundle and i see when i send a jms message on activemq, my consumer take it and i pass 1 second in onMessage method of org.apache.cxf.wsn.jms.JmsSubscription class.
> 500ms is pass into getEpr method.
> I think we can declare a 
> private W3CEndpointReference epr;
> in JmsSubscription and in constructor or in onMessage do :
>  if (epr == null) {
>                 epr = getEpr();
>             }
> with this i win 500ms per message!
> in my opinion getEpr is returning always the same W3CEndpointReference value, can you confirm it and i can propose a patch to correct this.
> thanks



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)