You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Martin Lichtin (JIRA)" <ji...@apache.org> on 2013/12/06 10:08:35 UTC

[jira] [Comment Edited] (AMQ-4921) Setting JMSReplyTo with a topic destination does not work

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

Martin Lichtin edited comment on AMQ-4921 at 12/6/13 9:07 AM:
--------------------------------------------------------------

I don't have an isolated unit test, but debugging it further reveals that Camel does this with the header I set:

| JmsProducer                      | amel.component.jms.JmsProducer$2  315 | 126 - org.apache.camel.camel-jms - 2.11.1 | Normalized JMSReplyTo destination name topic://jmsqueuemonitor -> jmsqueuemonitor
| JmsProducer                      | amel.component.jms.JmsProducer$2  315 | 126 - org.apache.camel.camel-jms - 2.11.1 | Normalized JMSReplyTo destination name topic://jmsqueuemonitor -> jmsqueuemonitor
| JmsProducer                      | amel.component.jms.JmsProducer$2  331 | 126 - org.apache.camel.camel-jms - 2.11.1 | Creating JMSReplyTo queue: jmsqueuemonitor
| JmsProducer                      | amel.component.jms.JmsProducer$2  331 | 126 - org.apache.camel.camel-jms - 2.11.1 | Creating JMSReplyTo queue: jmsqueuemonitor
| JmsProducer                      | amel.component.jms.JmsProducer$2  343 | 126 - org.apache.camel.camel-jms - 2.11.1 | Using JMSReplyTo destination: queue://jmsqueuemonitor
| JmsProducer                      | amel.component.jms.JmsProducer$2  343 | 126 - org.apache.camel.camel-jms - 2.11.1 | Using JMSReplyTo destination: queue://jmsqueuemonitor

I'd expect Camel to leave JMS headers as they are...



was (Author: lichtin):
I don't have an isolated unit test, but debugging it further reveals that Camel does this with the header I set:

2013-12-06 10:01:56,611 | TRACE | d #1 - timer://queueInfo | JmsProducer                      | amel.component.jms.JmsProducer$2  315 | 126 - org.apache.camel.camel-jms - 2.11.1 | Normalized JMSReplyTo destination name topic://ch.bbp.fmp.inuc.stp.communicator.jmsqueuemonitor -> ch.bbp.fmp.inuc.stp.communicator.jmsqueuemonitor
2013-12-06 10:01:56,611 | TRACE |  #0 - timer://brokerInfo | JmsProducer                      | amel.component.jms.JmsProducer$2  315 | 126 - org.apache.camel.camel-jms - 2.11.1 | Normalized JMSReplyTo destination name topic://ch.bbp.fmp.inuc.stp.communicator.jmsqueuemonitor -> ch.bbp.fmp.inuc.stp.communicator.jmsqueuemonitor
2013-12-06 10:01:56,611 | DEBUG | d #1 - timer://queueInfo | JmsProducer                      | amel.component.jms.JmsProducer$2  331 | 126 - org.apache.camel.camel-jms - 2.11.1 | Creating JMSReplyTo queue: ch.bbp.fmp.inuc.stp.communicator.jmsqueuemonitor
2013-12-06 10:01:56,611 | DEBUG |  #0 - timer://brokerInfo | JmsProducer                      | amel.component.jms.JmsProducer$2  331 | 126 - org.apache.camel.camel-jms - 2.11.1 | Creating JMSReplyTo queue: ch.bbp.fmp.inuc.stp.communicator.jmsqueuemonitor
2013-12-06 10:01:56,627 | DEBUG | d #1 - timer://queueInfo | JmsProducer                      | amel.component.jms.JmsProducer$2  343 | 126 - org.apache.camel.camel-jms - 2.11.1 | Using JMSReplyTo destination: queue://ch.bbp.fmp.inuc.stp.communicator.jmsqueuemonitor
2013-12-06 10:01:56,627 | DEBUG |  #0 - timer://brokerInfo | JmsProducer                      | amel.component.jms.JmsProducer$2  343 | 126 - org.apache.camel.camel-jms - 2.11.1 | Using JMSReplyTo destination: queue://ch.bbp.fmp.inuc.stp.communicator.jmsqueuemonitor

I'd expect Camel to leave JMS headers as they are...


> Setting JMSReplyTo with a topic destination does not work
> ---------------------------------------------------------
>
>                 Key: AMQ-4921
>                 URL: https://issues.apache.org/jira/browse/AMQ-4921
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.7.0
>            Reporter: Martin Lichtin
>
> The use case is about communicating with the StatisticsPlugin:
> Sending a message and setting JMSReplyTo with a destination for the response message(s).
> Doing (via Camel)
>       in.setHeader("JMSReplyTo", "topic://mydest");
> results in the broker producing messages to the "mydest" queue.



--
This message was sent by Atlassian JIRA
(v6.1#6144)