cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mançaux Pierre-Alexandre (JIRA) <>
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
             Project: CXF
          Issue Type: Improvement
          Components: JMS, Services
    Affects Versions: 3.0.5
         Environment: ServiceMix bundle
            Reporter: Mançaux Pierre-Alexandre
            Priority: Trivial


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

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.


This message was sent by Atlassian JIRA

View raw message