camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-1689) JMS-Headers are ignored in Producer
Date Mon, 29 Jun 2009 07:00:09 GMT


Claus Ibsen commented on CAMEL-1689:

Looks like Spring JMS Template have default configuration for eg. JMSPriority = 4. So even
if you set the JMSPriority on the javax.jms.Message object it will be disregarded and Spring
uses its default value of 4 instead.

> JMS-Headers are ignored in Producer
> -----------------------------------
>                 Key: CAMEL-1689
>                 URL:
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.0-M1
>            Reporter: Siegfried Wirth
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
> Camel jms producer ignores some JMSHeaders. For example the header JMSPriority is ignored
- due to the comment in the code, because it is set by the producer. But it should not only
be set by the produer due to the received message, it should also be possible to set a priority
using the JMSPriority header on the consumer. (See also the option preserveMessageQos on the
jms endpoint - if every JMSHeader is ignored by the producer it is impossible to set Qos-Properties
on the message.)
> The reason for the bug is in org.apache.camel.component.jms.JmsBinding#appendJmsProperty.

> The follwoing JMS message headers are useful for sending messages and therefore should
be copied to the jms message:
> - JMSDestination
> - JMSDeliveryMode
> - JMSExpiration
> - JMSPriority
> - JMSMessageID
> - JMSTimestamp

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message