qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: QPID Proton 0.19 Python: Exit MessagingHandler.run()
Date Thu, 22 Feb 2018 15:26:16 GMT
On 22/02/18 15:22, andi welchlin wrote:
> Hi Gordon,
> 
> I saw that your first line is:
> 
> #!/usr/bin/env python
> 
> 
> Does clean_stop.py also work for you when you change it to:
> 
> #!/usr/bin/env python3
> 
> ?
> 

Yes (output with tracing on below):

> $ PN_TRACE_FRM=1 ./clean_stop.py 
> run container
> press enteron start
> [0x7f39ac009120]:  -> SASL
> [0x7f39ac009120]:  <- SASL
> [0x7f39ac009120]:0 <- @sasl-mechanisms(64) [sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS]]
> [0x7f39ac009120]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, initial-response=b"anonymous@localhost.localdomain"]
> [0x7f39ac009120]:0 <- @sasl-outcome(68) [code=0]
> [0x7f39ac009120]:  -> AMQP
> [0x7f39ac009120]:0 -> @open(16) [container-id="dc3bcfe2-23b0-47d0-bcaa-848d290b347c",
hostname="localhost", channel-max=32767]
> [0x7f39ac009120]:0 -> @begin(17) [next-outgoing-id=0, incoming-window=2147483647,
outgoing-window=2147483647]
> [0x7f39ac009120]:0 -> @attach(18) [name="dc3bcfe2-23b0-47d0-bcaa-848d290b347c-test.awe.queue",
handle=0, role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="test.awe.queue",
durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0, timeout=0, dynamic=false],
initial-delivery-count=0, max-message-size=0]
> [0x7f39ac009120]:0 -> @flow(19) [incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647,
handle=0, delivery-count=0, link-credit=50, drain=false]
> [0x7f39ac009120]:  <- AMQP
> [0x7f39ac009120]:0 <- @open(16) [container-id="Router.A", max-frame-size=16384, channel-max=32767,
idle-time-out=8000, offered-capabilities=:"ANONYMOUS-RELAY", properties={:product="qpid-dispatch-router",
:version="1.0.0"}]
> [0x7f39ac009120]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=0, incoming-window=2147483647,
outgoing-window=2147483647]
> [0x7f39ac009120]:0 <- @attach(18) [name="dc3bcfe2-23b0-47d0-bcaa-848d290b347c-test.awe.queue",
handle=0, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="test.awe.queue",
durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0, timeout=0, dynamic=false],
initial-delivery-count=0, max-message-size=0]
> 
> call stop
> call join
> on_stop
> after container.run()
> done stop


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message