camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10582) Spring Message headers are immutable
Date Fri, 09 Dec 2016 15:38:58 GMT

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

ASF GitHub Bot commented on CAMEL-10582:
----------------------------------------

GitHub user bkuzmic opened a pull request:

    https://github.com/apache/camel/pull/1340

    CAMEL-10582: Fixing copying of immutable Spring headers

    Please consider merging this fix to allow complete Spring integration work correctly.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bkuzmic/camel CAMEL-10582

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1340.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1340
    
----
commit 06ca63894a17db1ea872a37b36846bdce5f0b1c3
Author: Boris Kuzmic <boris.kuzmic@ericsson.com>
Date:   2016-12-09T15:35:34Z

    CAMEL-10582: Fixing copying of immutable Spring headers

----


> Spring Message headers are immutable
> ------------------------------------
>
>                 Key: CAMEL-10582
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10582
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-integration
>    Affects Versions: 2.18.1
>            Reporter: Boris Kuzmic
>              Labels: easyfix
>             Fix For: 2.18.2
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> When SpringIntegrationMessage is copied from another SpringIntegrationMessage that already
has siMessage headers, exception is thrown:
> java.lang.UnsupportedOperationException: MessageHeaders is immutable.
> Which is a valid exception since Spring Message headers (the whole message as well) are
immutable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message