You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Mançaux Pierre-Alexandre (JIRA)" <ji...@apache.org> on 2016/05/17 11:46:12 UTC

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

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)