Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6004

JMS/Hornet timing issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • PUSH improvements (mini sprnt)
    • 8

      We have changed the code to connect to APNs, it's now leveraging a truly async library, based on Netty 4.1.9. This, currently, is performing much better.

      However, we do have a different hornet problem, causing us a bug on metrics handing/tracking.

      https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.1.x-dev/push/sender/src/main/java/org/jboss/aerogear/unifiedpush/message/jms/AbstractJMSMessageConsumer.java#L66

      When we replace the receiveNoWait() with receive(250), all Push/Metric jobs are processed correctly.

      If I keep the receiveNoWait() parts of a larger job are not correctly processed.

      This leads to false statistics, however, the actual push goes out

      I fear/guess this is new, do to the non blocking execution on the Apple push side of the house.

            mwessend@redhat.com Matthias Wessendorf
            mwessend@redhat.com Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: