activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Tsui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQCPP-433) Message::getCMSCorrelationID() returns different value from Java's Message.getJMSCorrelationID()
Date Fri, 05 Oct 2012 00:27:47 GMT

    [ https://issues.apache.org/jira/browse/AMQCPP-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469866#comment-13469866
] 

Jon Tsui commented on AMQCPP-433:
---------------------------------

I will try out 3.4.4 at home and see if this issue was resolved.

The case in which this occurred is:

1. Send TextMessage using ActiveMQ Java JMS client
2. Receive TextMessage using ActiveMQ C++ STOMP client
3. Received TextMessage has a standard correlation Id (e.g. "a3456n34jo3-23gb-345greg-34tgerg423t3"),
but upon sending the response back through the ActiveMQ server and looking at the message
on the queue, the correlation Id is "correlation-id".
                
> Message::getCMSCorrelationID() returns different value from Java's Message.getJMSCorrelationID()
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMQCPP-433
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-433
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.0
>         Environment: Linux and Solaris
>            Reporter: Jon Tsui
>            Assignee: Timothy Bish
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Apache ActiveMQ-CPP's cms::Message::getCMSCorrelationID() returns the string "correlation-id".
> Java's javax.jms.Message.getJMSCorrelationID() returns the actual correlation ID (the
string value of the property "correlation-id").
> I would expect the two to do the same thing, so cms::Message::getCMSCorrelationID() should
return the String value of the property "correlation-id". I also base this expectation on
the current behavior of cms::Message::getCMSReplyTo() returning the Destination value of the
property "reply-to" instead of returning the string "reply-to".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message