stompgem / stomp

A ruby gem for sending and receiving messages from a Stomp protocol compliant message queue. Includes: failover logic, ssl support.
http://stomp.github.com
Apache License 2.0
152 stars 80 forks source link

Header decode shortcoming #160

Closed gmallard closed 5 years ago

gmallard commented 5 years ago

The gem currently does not support the following use case.

1) A STOMP 1.2 client sends messages to a broker. 2) These messages have headers that require the encode / decode process. 3) A STOMP 1.0 client connects to the broker, and subscribes 4) The messages received will have encoded headers

We are assuming that the 1.0 client wants decoded headers.

Solution: always decode headers when received.

gmallard commented 5 years ago

Fixed with: 6480426