I have added support for "content-length" header field to handle
Bytes Messages from Java JMS or Perl Stom clients.
1. Net::Stomp.pm
   - Rewrote the receive_frame() method to read the header first,
     and based on the "content-length" if any, read the body.
   - Applied binmode to socket to avoid problems on Windows

2. Net::Stomp::Frame
    - Rewrote parse() method to fix problems I run into.
      this also makes it robust using the power of regular expression.

I have attached the two files below:

  http://www.nabble.com/file/3810/Stomp.pm Stomp.pm 

  http://www.nabble.com/file/3811/Frame.pm Frame.pm 
-- 
View this message in context: 
http://www.nabble.com/Net%3A%3AStomp-0.31-Patch-to-Support-Bytes-Message-tf2496525.html#a6959274
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to