cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mançaux Pierre-Alexandre (JIRA) <j...@apache.org>
Subject [jira] [Created] (CXF-6907) CXF-WSN improvment in onMessage listenner
Date Tue, 17 May 2016 11:46:12 GMT
Mançaux Pierre-Alexandre created CXF-6907:
---------------------------------------------

             Summary: 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
            Priority: Trivial


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.4#6332)

Mime
View raw message