You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2017/02/15 15:58:41 UTC

[jira] [Updated] (DISPATCH-633) Creating connectors and addresses returns success codes of two different types.

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

Ganesh Murthy updated DISPATCH-633:
-----------------------------------
    Description: 
When trying to create a connector in dispatch using Qpid JMS, the returned status code 200 is of type 

Object statusCodeValue = replyMessage.getObjectProperty("statusCode");

statusCodeValue is instanceof java.lang.Long

When trying to create an address, the returned code is of type org.apache.qpid.proton.amqp.UnsignedInteger

The dispatch router must consistently return AMQP int status codes in both cases which will translate to java.lang.Integer on the java side. 

  was:
When trying to create a connector in dispatch using Qpid JMS, the returned status code 200 is of type 

Object statusCodeValue = replyMessage.getObjectProperty("statusCode");

statusCodeValue is instanceof java.lang.Long

When trying to create an address, the returned code is of type org.apache.qpid.proton.amqp.UnsignedInteger

The dispatch router must return consistent int value status codes in both cases 


> Creating connectors and addresses returns success codes of two different types.
> -------------------------------------------------------------------------------
>
>                 Key: DISPATCH-633
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-633
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 0.7.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>             Fix For: 0.8.0
>
>
> When trying to create a connector in dispatch using Qpid JMS, the returned status code 200 is of type 
> Object statusCodeValue = replyMessage.getObjectProperty("statusCode");
> statusCodeValue is instanceof java.lang.Long
> When trying to create an address, the returned code is of type org.apache.qpid.proton.amqp.UnsignedInteger
> The dispatch router must consistently return AMQP int status codes in both cases which will translate to java.lang.Integer on the java side. 



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

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