[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to