Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6907

CXF-WSN improvment in onMessage listenner

    Details

    • Estimated Complexity:
      Moderate

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              pmancaux Mançaux Pierre-Alexandre
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: