mq
  1. mq
  2. MQ-155

Direct Broker does not implement message compression

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 5.0
    • Component/s: mq-ra
    • Labels:
      None
    • Environment:

      Any OS
      GlassFish (all versions) with EMBEDDED broker

      Description

      The message queue broker for the Direct* protocol
      that is used with am embedded broker
      does not handle JMS_SUN_COMPRESS property
      and hence fails to decompress/work
      with messages that are sent from an external JMS
      client (that is not direct). This will cause failure
      to read the messages in the clients in the embedded broker.

      -----------
      Tetscase
      -----------
      This is the same as http://java.net/jira/browse/GLASSFISH-18436
      Testcase in there.

      -------
      Cause:
      -------
      The JMS_SUN_COMPRESS checking is not done in the Direct
      protocol. It seems that the messages are compress/decompress
      in the jmsclient/MessageImpl implementation and
      hence is not on the common machinery. ie: DirectPacket
      have the Z_FLAG is true...

      Since jmsclient MessageImpl is the one doing the
      work. This would mean also that JMS_SUN_COMPRESS
      for the outgoing case does not work.

      -------------
      Expected:
      -------------
      1. Glassfish embedded/direct can receive Compressed payload
      2. Glassfish embedded direct can sent Compressed payload
      to self/remote.

        Issue Links

          Activity

          Hide
          Ed Bratt added a comment -

          http://download.java.net/mq/open-mq/4.5.2/latest/
          The repository reflects the final build. There were only two builds for this update.

          Show
          Ed Bratt added a comment - http://download.java.net/mq/open-mq/4.5.2/latest/ The repository reflects the final build. There were only two builds for this update.
          Hide
          jthoennes added a comment -

          Hello,

          Bug 13808159 : MQ:4.5.2-DIRECT BROKER DOES NOT IMPLEMENT MESSAGE COMPRESSION

          has now a FVB which has been successfully tested by us.

          When will this bug update accordingly?

          Thanks, Jörg

          Show
          jthoennes added a comment - Hello, Bug 13808159 : MQ:4.5.2-DIRECT BROKER DOES NOT IMPLEMENT MESSAGE COMPRESSION has now a FVB which has been successfully tested by us. When will this bug update accordingly? Thanks, Jörg
          Hide
          jthoennes added a comment -

          Hello,

          will this be available for version 4.6, too?

          Thanks, Jörg

          Show
          jthoennes added a comment - Hello, will this be available for version 4.6, too? Thanks, Jörg
          Hide
          jthoennes added a comment -

          According to

          http://java.net/projects/glassfish/lists/users/archive/2012-07/message/16

          there will be a micro release 3.1.3 of Glassfish soon.

          Will this patch be included in this release?

          Thanks, Jörg

          Show
          jthoennes added a comment - According to http://java.net/projects/glassfish/lists/users/archive/2012-07/message/16 there will be a micro release 3.1.3 of Glassfish soon. Will this patch be included in this release? Thanks, Jörg
          Hide
          saradak added a comment -


          verified.

          Show
          saradak added a comment - verified.

            People

            • Assignee:
              cgdrake
              Reporter:
              gfuser9999
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: