You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Frank Schwarz (JIRA)" <ji...@apache.org> on 2009/04/19 17:28:32 UTC

[jira] Created: (CAMEL-1543) Apply removeHeader also to the underying JMS message delegate

Apply removeHeader also to the underying JMS message delegate
-------------------------------------------------------------

                 Key: CAMEL-1543
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1543
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-jms
    Affects Versions: 2.0-M1
            Reporter: Frank Schwarz


In case of a JMS message, header information is redundantly stored in org.apache.camel.component.jms.JmsMessage (here Camel-Message) and in its javax.jms.Message jmsMessage delegate (here JMS-Message). Currently you cannot remove effectively any header from the Camel-Message instance as in the next processing step those removed headers resurrect from the underlying JMS-Message.

Please provide any means to remove or or at least mask out those headers from the underlying JMS-Message.

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


[jira] Assigned: (CAMEL-1543) Apply removeHeader also to the underying JMS message delegate

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-1543:
----------------------------------

    Assignee: Claus Ibsen

> Apply removeHeader also to the underying JMS message delegate
> -------------------------------------------------------------
>
>                 Key: CAMEL-1543
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1543
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.0-M1
>            Reporter: Frank Schwarz
>            Assignee: Claus Ibsen
>
> In case of a JMS message, header information is redundantly stored in org.apache.camel.component.jms.JmsMessage (here Camel-Message) and in its javax.jms.Message jmsMessage delegate (here JMS-Message). Currently you cannot remove effectively any header from the Camel-Message instance as in the next processing step those removed headers resurrect from the underlying JMS-Message.
> Please provide any means to remove or or at least mask out those headers from the underlying JMS-Message.

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


[jira] Resolved: (CAMEL-1543) Apply removeHeader also to the underying JMS message delegate

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1543.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

trunk: 769251.
1.x: 769255.

> Apply removeHeader also to the underying JMS message delegate
> -------------------------------------------------------------
>
>                 Key: CAMEL-1543
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1543
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.0-M1
>            Reporter: Frank Schwarz
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> In case of a JMS message, header information is redundantly stored in org.apache.camel.component.jms.JmsMessage (here Camel-Message) and in its javax.jms.Message jmsMessage delegate (here JMS-Message). Currently you cannot remove effectively any header from the Camel-Message instance as in the next processing step those removed headers resurrect from the underlying JMS-Message.
> Please provide any means to remove or or at least mask out those headers from the underlying JMS-Message.

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


[jira] Updated: (CAMEL-1543) Apply removeHeader also to the underying JMS message delegate

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-1543:
-------------------------------

    Fix Version/s: 1.6.1

Also fixed in 1.6.1

> Apply removeHeader also to the underying JMS message delegate
> -------------------------------------------------------------
>
>                 Key: CAMEL-1543
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1543
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.0-M1
>            Reporter: Frank Schwarz
>            Assignee: Claus Ibsen
>             Fix For: 1.6.1, 2.0.0
>
>
> In case of a JMS message, header information is redundantly stored in org.apache.camel.component.jms.JmsMessage (here Camel-Message) and in its javax.jms.Message jmsMessage delegate (here JMS-Message). Currently you cannot remove effectively any header from the Camel-Message instance as in the next processing step those removed headers resurrect from the underlying JMS-Message.
> Please provide any means to remove or or at least mask out those headers from the underlying JMS-Message.

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


[jira] Commented: (CAMEL-1543) Apply removeHeader also to the underying JMS message delegate

Posted by "Marat Bedretdinov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51283#action_51283 ] 

Marat Bedretdinov commented on CAMEL-1543:
------------------------------------------

Good point.

If I recall correctly as a work around you could instruct the runtime to always create a new javax.jms.Message between from and to steps (alwaysCopyMessage=true), though this is not very efficient when used between the same JMS broker providers on from() and to() sides.

> Apply removeHeader also to the underying JMS message delegate
> -------------------------------------------------------------
>
>                 Key: CAMEL-1543
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1543
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.0-M1
>            Reporter: Frank Schwarz
>
> In case of a JMS message, header information is redundantly stored in org.apache.camel.component.jms.JmsMessage (here Camel-Message) and in its javax.jms.Message jmsMessage delegate (here JMS-Message). Currently you cannot remove effectively any header from the Camel-Message instance as in the next processing step those removed headers resurrect from the underlying JMS-Message.
> Please provide any means to remove or or at least mask out those headers from the underlying JMS-Message.

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