Hi,

I've just tried running the NMS client with release 4.0.2, and it works
fine. OpenWireFormat.cs returns 1,2,30 from ReadByte() in the
TcpTransport.ReadLoop(), whereas before it was returning 1,2,0 where the 0
was causing the null command reference.

public Object Unmarshal(BinaryReader dis)
        {
            // lets ignore the size of the packet
                        if( !sizePrefixDisabled ) {
                                dis.ReadInt32();
                        }
            
            // first byte is the type of the packet
            byte dataType = dis.ReadByte(); <-- the 1,2,30 / 1,2,0 problem
was found here
            if (dataType != NULL_TYPE)
            {
...

I will switch to using 4.0.2 for now.

Many thanks,
David
-- 
View this message in context: 
http://www.nabble.com/NMS-and-4.1.0-problems-tf2787347.html#a7831238
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to