[
https://issues.apache.org/jira/browse/ARTEMIS-2311?focusedWorklogId=229732&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-229732
]
ASF GitHub Bot logged work on ARTEMIS-2311:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 18/Apr/19 15:02
Start Date: 18/Apr/19 15:02
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on pull request #2627:
ARTEMIS-2311 Dealing with Protocol conversions and JMSReplyTo
URL: https://github.com/apache/activemq-artemis/pull/2627#discussion_r276704279
##########
File path:
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/AmqpCoreConverter.java
##########
@@ -324,7 +324,29 @@ private static ServerJMSMessage
processProperties(ServerJMSMessage jms, Properti
jms.setJMSType(properties.getSubject());
}
if (properties.getReplyTo() != null) {
- jms.setJMSReplyTo(new ServerDestination(properties.getReplyTo()));
+ Byte value = (Byte)(annotations != null ?
annotations.getValue().get(AMQPMessageSupport.JMS_REPLY_TO_TYPE_MSG_ANNOTATION)
: AMQPMessageSupport.QUEUE_TYPE);
Review comment:
I was mistaken, I thought the JMS Client was not available at the server.
The reason we created ServerMessage was because ActiveMQMessage needed a
ClientMessage and we have a ServerMessage here.
I am removing ServerDestination and using the regular ActiveMQDestination. I
think the changese will become cleaner for this.
BTW: I thought this was going to e a simple bug fix.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 229732)
Time Spent: 14h 10m (was: 14h)
> JMSReplyTo insconsistent when dealing with Protocol conversions
> ---------------------------------------------------------------
>
> Key: ARTEMIS-2311
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2311
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: AMQP, Broker, OpenWire
> Affects Versions: 2.7.0
> Reporter: clebert suconic
> Assignee: clebert suconic
> Priority: Major
> Fix For: 2.8.0
>
> Time Spent: 14h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)