Subject: Re: qpidmessaging - Link Error 2001 For qpid::types::Variant


What is the content type set to? Or is it set? -> The content type type is not set at all.Do you know the encoding  in which the body is being sent? -> Not really, base64?This is over an AMQP 1.0 connection, is that right? -> No, it's AMQP 0-10.
I enabled trace+:Protocol logging and captured the log while browsing a test message. For this specific test I used a Python client based on qpidmessaging for Python because it's easier to inspect the message than using C++ (at least for me).

Broker log:

2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: INIT(0-10)2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ConnectionStartBody: server-properties={host:V2:10:str16(NYOGSERVER),platform:V2:17:str16(Microsoft Windows),product:V2:8:str16(qpid-cpp),qpid.federation_tag:V2:36:str16(3291b203-4be6-45bd-a93f-60442501ce62),version:V2:4:str16(0.34)}; mechanisms=str16{V2:9:str16(ANONYMOUS), V2:5:str16(PLAIN)}; locales=str16{V2:5:str16(en_US)}; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ConnectionStartOkBody: client-properties={platform:V2:2:str16(nt),product:V2:18:str16(qpid python client),qpid.client_pid:F8:int64(224),qpid.client_ppid:F8:int64(0),qpid.client_process:V2:9:str16(qpidog.py),qpid.client_version:V2:15:str16(1.38.0-SNAPSHOT)}; mechanism=ANONYMOUS; response=xxxxxx; }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ConnectionTuneBody: channel-max=65534; max-frame-size=16384; heartbeat-min=0; heartbeat-max=0; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ConnectionTuneOkBody: channel-max=65534; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ConnectionOpenBody: }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ConnectionOpenOkBody: known-hosts=str16{}; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {SessionAttachBody: name=258b32ce-4ceb-4dae-8a89-abb00d19ba77:0; }]2019-08-13 19:29:31 [Protocol] debug Attached channel 0 to anonymous.258b32ce-4ceb-4dae-8a89-abb00d19ba77:02019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {SessionCommandPointBody: command-id=0; command-offset=0; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ExchangeQueryBody: name=qmf.default.topic; }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {SessionAttachedBody: name=258b32ce-4ceb-4dae-8a89-abb00d19ba77:0; }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {SessionCommandPointBody: command-id=0; command-offset=0; }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ExecutionResultBody: command-id=0; value=\x07\x01 \x00\x10management-topic\x00\x00\x00\x1A\x00\x00\x00\x01\x0Eqpid.replicate\x95\x00\x04none; }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {SessionCompletedBody: commands={ [0,0] }; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {QueueDeclareBody: queue=258b32ce-4ceb-4dae-8a89-abb00d19ba77:0.0; exclusive=1; auto-delete=1; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ExchangeBindBody: queue=258b32ce-4ceb-4dae-8a89-abb00d19ba77:0.0; exchange=qmf.default.topic; binding-key=direct.706eb83b-3b5f-47f4-848f-61e82085ecb6; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {MessageSubscribeBody: queue=258b32ce-4ceb-4dae-8a89-abb00d19ba77:0.0; destination=0; accept-mode=1; acquire-mode=0; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {MessageSetFlowModeBody: destination=0; flow-mode=0; }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {SessionCompletedBody: commands={ [0,4] }; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {MessageFlowBody: destination=0; unit=1; value=4294967295; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {MessageFlowBody: destination=0; unit=0; value=10; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ExchangeQueryBody: name=qmf.default.direct; }]2019-08-13 19:29:31 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {QueueQueryBody: queue=qmf.default.direct; }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ExecutionResultBody: command-id=7; value=\x07\x01 \x00\x11management-direct\x00\x00\x00\x1A\x00\x00\x00\x01\x0Eqpid.replicate\x95\x00\x04none; }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {SessionCompletedBody: commands={ [0,7] }; }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {ExecutionResultBody: command-id=8; value=\x08\x01\x00\x00; }]2019-08-13 19:29:31 [Protocol] trace SENT [qpid.192.168.56.3:5672-192.168.56.254:60069]: Frame[BEbe; channel=0; {SessionCompletedBody: commands={ [0,8] }; }]2019-08-13 19:30:17 [Protocol] trace RECV [qpid.192.168.56.3:5672-192.1