rocketmq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dongeforever (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ROCKETMQ-188) RemotingExecption is not consistent between invoke async and invoke oneway
Date Sat, 27 May 2017 06:14:04 GMT

     [ https://issues.apache.org/jira/browse/ROCKETMQ-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

dongeforever closed ROCKETMQ-188.
---------------------------------
    Resolution: Fixed

> RemotingExecption is not consistent between invoke async and invoke oneway
> --------------------------------------------------------------------------
>
>                 Key: ROCKETMQ-188
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-188
>             Project: Apache RocketMQ
>          Issue Type: Bug
>          Components: rocketmq-remoting
>            Reporter: Jaskey Lam
>            Assignee: Jaskey Lam
>            Priority: Minor
>             Fix For: 4.1.0-incubating
>
>
> For existing invoke oneway code base, RemotingTooMuchRequestException will be thrown
only when timeout millis <0, otherwise, RemotingTimeoutException will be thrown.
> But in invokeAsync, RemotingTooMuchRequestException is always thrown no matter what value
the timeout millis , which is inconsistent. Besides, the RemotingTimeoutException is declared
in the signature but it will be never thrown.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message