Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2241

Remove the redundant "double check" of the filter in MessageConsumer

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.0.3RC2
    • None
    • None

      This comment in the sourcecode org.jboss.mq.SpyMessageConsumer
      is true.

      // Consider removing this test (subscription.accepts). I don't think it
      // will ever fail
      // because the test is also done by the server before message is even
      // sent.
      if (subscription.accepts(message.header))

      This should also remove the need for gnu-regexp from the client side jars for jbossmq.

              Unassigned Unassigned
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: