camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-7049) Cannot set JMSReplyTo with a topic destination when sending a message to a queue
Date Sat, 04 Jan 2014 10:24:50 GMT

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

Claus Ibsen reassigned CAMEL-7049:
----------------------------------

    Assignee: Claus Ibsen

> Cannot set JMSReplyTo with a topic destination when sending a message to a queue
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-7049
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7049
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.11.1
>            Reporter: Martin Lichtin
>            Assignee: Claus Ibsen
>
> The use case is about using Camel to communicate with the ActiveMQ StatisticsPlugin:
> Need to send a message and set 'JMSReplyTo' with a destination for the response message(s).
Doing this as part of a Camel processor:
>    in.setHeader("JMSReplyTo", "topic://mydest");
> This, however, results in the broker (ie. the statistics plugin) returning messages to
the "mydest" queue, as opposed to the topic.
> The issue is that Camel starts fiddling with the 'JMSReplyTo' header.
> Enabling trace level shows how Camel coerces the topic into a queue:
> 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
> Camel seems to apply some logic that is faulty in this circumstance.
> Just want to send a message to a queue and have that message carry a 'JMSReplyTo' value
that should be left untouched. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message