[
https://issues.apache.org/jira/browse/PROTON-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenjie Guo updated PROTON-1399:
-------------------------------
Summary: messenger does not raise any exception when error happened (was:
messenger cannot raise exception when error happened)
> messenger does not raise any exception when error happened
> ----------------------------------------------------------
>
> Key: PROTON-1399
> URL: https://issues.apache.org/jira/browse/PROTON-1399
> Project: Qpid Proton
> Issue Type: Bug
> Components: ruby-binding
> Reporter: Wenjie Guo
> Assignee: Alan Conway
>
> [0x1089c90]: -> AMQP
> [0x1089c90]:0 -> @open(16)
> [container-id="305A5B5D-0E5B-4E2A-A3CD-0C3ECDFEFA5C", hostname="broker.com",
> channel-max=32767]
> [0x1089c90]:0 -> @begin(17) [next-outgoing-id=0, incoming-window=2147483647,
> outgoing-window=2147483647]
> [0x1089c90]:0 -> @attach(18) [name="queue://test-queue", handle=0, role=true,
> snd-settle-mode=0, rcv-settle-mode=0, source=@source(40)
> [address="queue://test-queue", durable=0, timeout=0, dynamic=false],
> target=@target(41) [address="queue://test-queue", durable=0, timeout=0,
> dynamic=false], initial-delivery-count=0]
> [0x1089c90]:0 -> @flow(19) [incoming-window=2147483647, next-outgoing-id=0,
> outgoing-window=2147483647, handle=0, delivery-count=0, link-credit=1,
> drain=false]
> [0x1089c90]: <- AMQP
> [0x1089c90]:0 <- @open(16) [container-id="broker", hostname="",
> max-frame-size=4294967295, channel-max=32767, idle-time-out=15000,
> offered-capabilities=@PN_SYMBOL[:"ANONYMOUS-RELAY"],
> properties={:product="ActiveMQ", :platform="Java/1.7.0_85",
> :"topic-prefix"="topic://", :"queue-prefix"="queue://"}]
> [0x1089c90]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=1,
> incoming-window=2147483647, outgoing-window=2147483647, handle-max=65535]
> [0x1089c90]:0 <- @attach(18) [name="queue://test-queue", handle=0,
> role=false, snd-settle-mode=2, rcv-settle-mode=0, target=@target(41)
> [address="queue://test-queue"], incomplete-unsettled=false,
> initial-delivery-count=0]
> [0x1089c90]:0 <- @detach(22) [handle=0, closed=true, error=@error(29)
> [condition=:"amqp:unauthorized-access", description="User xxx is not
> authorized to read from: queue://test-queue"]]
> [0x1089c90]:0 -> @detach(22) [handle=0, closed=true]
> @<- @detach(22) shows there is error happened,
> error=@error(29) [condition=:"amqp:unauthorized-access", description="User
> xxx is not authorized to read from: queue://test-queue"]]
> but we cannot catch exception on messenger.start or messenger.send.
> and even invoke messenger.error, there is nil. please help to check.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]