You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "ASF GitHub Bot (JIRA)" <se...@james.apache.org> on 2018/07/06 20:06:00 UTC

[jira] [Commented] (JAMES-2167) Serializable attributes are not preserved by enqueue/dequeue on a JMS queue

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

ASF GitHub Bot commented on JAMES-2167:
---------------------------------------

GitHub user nstdio opened a pull request:

    https://github.com/apache/james-project/pull/126

    JAMES-2167 Serializable attributes are not preserved by enqueue/dequeue on a JMS queue.

    

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

    $ git pull https://github.com/nstdio/james-project JAMES-2167

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

    https://github.com/apache/james-project/pull/126.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 #126
    
----
commit 764f2f2bac03853b05390bddcb9cf3a02a1f0510
Author: Edgar Asatryan <ns...@...>
Date:   2018-07-05T09:49:58Z

    JAMES-2301 JMS mail queue do not preserve per-recipient headers.
    
    Now we serialize per-recipient headers as a message property and
    deserialize it when dequeue.

commit 2e72feca36536901acf3852574603407f66a59f7
Author: Edgar Asatryan <ns...@...>
Date:   2018-07-06T16:32:41Z

    fixup! JAMES-2301 JMS mail queue do not preserve per-recipient headers.

commit b71cad14f1ec261f46488d231084e0adb98f3503
Author: Edgar Asatryan <ns...@...>
Date:   2018-07-06T16:36:10Z

    fixup! fixup! JAMES-2301 JMS mail queue do not preserve per-recipient headers.

commit ac2f7a9eb3955d4241281b2b1ba7b03d14a82a7c
Author: Edgar Asatryan <ns...@...>
Date:   2018-07-06T20:03:44Z

    JAMES-2167 Serializable attributes are not preserved by enqueue/dequeue on a JMS queue.
    
    The non String email attributes now serialized/deserialized properly.

----


> Serializable attributes are not preserved by enqueue/dequeue on a JMS queue
> ---------------------------------------------------------------------------
>
>                 Key: JAMES-2167
>                 URL: https://issues.apache.org/jira/browse/JAMES-2167
>             Project: James Server
>          Issue Type: Bug
>          Components: Queue
>    Affects Versions: master
>            Reporter: Tellier Benoit
>            Priority: Major
>
> A call to toString breaks convertion for generic serializable attributes. 
> The dequeued email will have only a toString version of it. We are expecting the exact same value, just deserialized.
> We should ensure the value of Serializable attributes gets preserved by enqueue/dequeue operations. We should add a unit test for this, and fix it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org