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.
This is the same as http://java.net/jira/browse/GLASSFISH-18436
Testcase in there.
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.
1. Glassfish embedded/direct can receive Compressed payload
2. Glassfish embedded direct can sent Compressed payload