You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Vadim Chekan <ko...@gmail.com> on 2008/08/28 08:12:07 UTC
NMS: OpenWire version
Apparently WireFormatNegotiator checks only magic bytes during the
format negotiation and does not check the version.
So NMS client V2 talks to ActiveMQ V3.
Is it a bug?
394 [-1211205856] INFO Apache.NMS.Tracer (null) - SENDING:
WireFormatInfo[ Magic=System.Byte[] Version=2
MarshalledProperties={CacheEnabled=False, SizePrefixDisabled=False,
StackTraceEnabled=False, TcpNoDelayEnabled=False,
TightEncodingEnabled=False} ]
395 [-1225606256] DEBUG Apache.NMS.Tracer (null) - Parsing type: 1
with: Apache.NMS.ActiveMQ.OpenWire.V1.WireFormatInfoMarshaller
403 [-1225606256] INFO Apache.NMS.Tracer (null) - RECEIVED:
WireFormatInfo[ Magic=System.Byte[] Version=3
MarshalledProperties={CacheEnabled=True, CacheSize=1024,
SizePrefixDisabled=False, TightEncodingEnabled=True,
MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000,
StackTraceEnabled=True, TcpNoDelayEnabled=True} ]
Vadim.
--
>From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
is explicitly specified
Re: NMS: OpenWire version
Posted by Vadim Chekan <ko...@gmail.com>.
Created ticket: AMQNET-110
Vadim.
On Thu, Aug 28, 2008 at 5:22 AM, Jim Gomes <e....@gmail.com> wrote:
> Wow, good question. This needs to be looked at and verified.
>
> On Wed, Aug 27, 2008 at 11:12 PM, Vadim Chekan <ko...@gmail.com>wrote:
>
>> Apparently WireFormatNegotiator checks only magic bytes during the
>> format negotiation and does not check the version.
>> So NMS client V2 talks to ActiveMQ V3.
>> Is it a bug?
>>
>> 394 [-1211205856] INFO Apache.NMS.Tracer (null) - SENDING:
>> WireFormatInfo[ Magic=System.Byte[] Version=2
>> MarshalledProperties={CacheEnabled=False, SizePrefixDisabled=False,
>> StackTraceEnabled=False, TcpNoDelayEnabled=False,
>> TightEncodingEnabled=False} ]
>> 395 [-1225606256] DEBUG Apache.NMS.Tracer (null) - Parsing type: 1
>> with: Apache.NMS.ActiveMQ.OpenWire.V1.WireFormatInfoMarshaller
>> 403 [-1225606256] INFO Apache.NMS.Tracer (null) - RECEIVED:
>> WireFormatInfo[ Magic=System.Byte[] Version=3
>> MarshalledProperties={CacheEnabled=True, CacheSize=1024,
>> SizePrefixDisabled=False, TightEncodingEnabled=True,
>> MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000,
>> StackTraceEnabled=True, TcpNoDelayEnabled=True} ]
>>
>> Vadim.
>> --
>> From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
>> is explicitly specified
>>
>
--
>From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
is explicitly specified
Re: NMS: OpenWire version
Posted by Jim Gomes <e....@gmail.com>.
Wow, good question. This needs to be looked at and verified.
On Wed, Aug 27, 2008 at 11:12 PM, Vadim Chekan <ko...@gmail.com>wrote:
> Apparently WireFormatNegotiator checks only magic bytes during the
> format negotiation and does not check the version.
> So NMS client V2 talks to ActiveMQ V3.
> Is it a bug?
>
> 394 [-1211205856] INFO Apache.NMS.Tracer (null) - SENDING:
> WireFormatInfo[ Magic=System.Byte[] Version=2
> MarshalledProperties={CacheEnabled=False, SizePrefixDisabled=False,
> StackTraceEnabled=False, TcpNoDelayEnabled=False,
> TightEncodingEnabled=False} ]
> 395 [-1225606256] DEBUG Apache.NMS.Tracer (null) - Parsing type: 1
> with: Apache.NMS.ActiveMQ.OpenWire.V1.WireFormatInfoMarshaller
> 403 [-1225606256] INFO Apache.NMS.Tracer (null) - RECEIVED:
> WireFormatInfo[ Magic=System.Byte[] Version=3
> MarshalledProperties={CacheEnabled=True, CacheSize=1024,
> SizePrefixDisabled=False, TightEncodingEnabled=True,
> MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000,
> StackTraceEnabled=True, TcpNoDelayEnabled=True} ]
>
> Vadim.
> --
> From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
> is explicitly specified
>