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 "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/11/03 16:18:24 UTC

[jira] Created: (JAMES-1108) Rewrite ActiveMQQueue to use BlobMessages and a custom BlobTransferPolicy

Rewrite ActiveMQQueue to use BlobMessages and a custom BlobTransferPolicy
-------------------------------------------------------------------------

                 Key: JAMES-1108
                 URL: https://issues.apache.org/jira/browse/JAMES-1108
             Project: JAMES Server
          Issue Type: Improvement
    Affects Versions: 3.0-M1
            Reporter: Norman Maurer
             Fix For: 3.0-M2


When using ActiveMQ for the mail queue we can make use of BlobMessages which allows us to stream the complete MimeMessage as Body.  So we don't need to load it in memory 

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


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


[jira] Resolved: (JAMES-1108) Rewrite ActiveMQQueue to use BlobMessages and a custom BlobTransferPolicy

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1108.
----------------------------------

    Resolution: Fixed
      Assignee: Norman Maurer

Done.. we now use BlobMessages for storing our Mail instances.. Everything except the MimeMessage get stored as JMS Property. The MimeMessage will get stored via an custom BlobTransferPolicy, which streams directly to the filesystem. With the new implementation we need a way less memory as before. Even while bombing james with 500 concurrent smtp clients I saw a heap usage of 70 - 90 mb only with the new implementation.

> Rewrite ActiveMQQueue to use BlobMessages and a custom BlobTransferPolicy
> -------------------------------------------------------------------------
>
>                 Key: JAMES-1108
>                 URL: https://issues.apache.org/jira/browse/JAMES-1108
>             Project: JAMES Server
>          Issue Type: Improvement
>    Affects Versions: 3.0-M1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 3.0-M2
>
>
> When using ActiveMQ for the mail queue we can make use of BlobMessages which allows us to stream the complete MimeMessage as Body.  So we don't need to load it in memory 

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


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