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 "Mario Zsilak (JIRA)" <se...@james.apache.org> on 2010/01/22 18:15:21 UTC

[jira] Created: (JAMES-956) work on james-server-experimental-activemq-function

work on james-server-experimental-activemq-function
---------------------------------------------------

                 Key: JAMES-956
                 URL: https://issues.apache.org/jira/browse/JAMES-956
             Project: JAMES Server
          Issue Type: New Feature
          Components: SpoolManager & Processors
    Affects Versions: Trunk
            Reporter: Mario Zsilak
            Priority: Trivial


Hi,

I'm very interested in using james with active-mq (or any other message broker) .

My Plan is to:
-) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
-) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
-) review and extend the current active-mq stuff

In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.

what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836632#action_12836632 ] 

Norman Maurer commented on JAMES-956:
-------------------------------------

Thx again Mario for the feedback.

I will commit the changes related to camel in the meantime.. Maybe this gives you some idea about it..

Bye,
Norman

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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-956) work on james-server-experimental-activemq-function

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

Norman Maurer resolved JAMES-956.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-M1
         Assignee: Norman Maurer

We use Camel todo the JMS spooling. So the complete module was removed

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Assignee: Norman Maurer
>            Priority: Trivial
>             Fix For: 3.0-M1
>
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Mario Zsilak (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829777#action_12829777 ] 

Mario Zsilak commented on JAMES-956:
------------------------------------

Hi Norman,

Yes I already started it. The issue is the following:

We want to use a very customized version of james for one of our customers. AFAIK the management is not sure about the legal stuff and anyway the customer didn't decide to order a mail system yet from us.

Anyway if everything is OK, some colleagues and me would do the needed customization. All involved developers agree that we will give everything that is usefull back to the james community, however this has also to be decided by the management :(

Kindly give me a few more days, so I can try to push the management to the right decision :)

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839464#action_12839464 ] 

Norman Maurer commented on JAMES-956:
-------------------------------------

Hi Mario,

I committed my code related to jms spooling today. Its using camel to send to the jms queue (See James.java). From there camel us used to move the mail from one queue to the other (I'm using one queue per processor listed in spoolmanager.xml). Not sure if this helps you.

All code related to this is located in the spoolmanager folder. I'm currently lookin into ways to make it more performant. At the moment I store the whole Mail object in the JMSMessage as Object (including the whole MimeMessage). Thats ok for small messages but its not a good idea for bigger stuff. I think we should to refactor it to move as less data as possible. Many mailets / matchers don't need to access the MimeMessage at all so there is no need to load it.  At the moment I think about using BlobMessage or StreamMessage for make it more performant. But I have to think about it. 


Feedback welcome

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803764#action_12803764 ] 

Stefano Bagnara commented on JAMES-956:
---------------------------------------

This is something that IMO could be integrated as a core feature if you contribute it.

It is *very* interesting, expecially if you add that the "enveloper informations" (Mail/MailImpl fields) could be stored separately from the message content (MimeMessage object). So maybe a JCR to store the content, JMS (or directly ActiveMQ) to move/alter the envelope around. Otherwise if you use persistent queues you would end up "cloning" the whole message at each processor change.

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829782#action_12829782 ] 

Norman Maurer commented on JAMES-956:
-------------------------------------

Hi Mario,

thx for the info. Every feedback or suggestions howto make james more useable or extensible is really welcome.

Hope the push works out ;)

Cheers,
Norman

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Mario Zsilak (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803815#action_12803815 ] 

Mario Zsilak commented on JAMES-956:
------------------------------------

nice point!
I didn't thought about that one :)

IMO this is also related to the current mailing list discussion with the subject "Moving mails around (Was: MailRepository and MailboxManager)", because (as far as I understood it) if we will have some kind of central "MailRepository" which can be accessed via POP / IMAP; we will probably also do this seperation of META-Information and Content.

I'm still a newbie in terms of mail concepts (from server view) and the according protocols, but I'm very interested in learning this stuff and contributing to james.
So I guess I'll do some simple/abstract MQ integration for now and change the code when there is some outcome ( = code that I can reuse ) to the discussion.

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836588#action_12836588 ] 

Norman Maurer commented on JAMES-956:
-------------------------------------

Hi Mario,

I have now a proof of concept for using camel for the matcher/mailet processor workin ( I will commit it soon), so it should be really straight forward to replace the current used consumer and producer with JMS. So my next task after the code is committed and maybe a bit cleanup is done, would be to target the jms spooling. Is there still some interest by you to work on this ? Just so we don't try to tackle the same stuff ;)

Bye,
Norman

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Mario Zsilak (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836606#action_12836606 ] 

Mario Zsilak commented on JAMES-956:
------------------------------------

Hi,

I'm still working on this, however I'm not so sure how it will work together with camel.
And anyway ... still didn't got response from the management. I try to push on that.

Kind regards,
Mario

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840778#action_12840778 ] 

Norman Maurer commented on JAMES-956:
-------------------------------------

I would be in prefer to remove the whole module and just use what we have now in spoolmanager module (using camel + activemq). 

Thoughts ?

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803864#action_12803864 ] 

Norman Maurer commented on JAMES-956:
-------------------------------------

Using JMS for spooling is something I really would like to see in james for a long time. Nice to see someone seems to have the cycles to work on it .. Go ahead :)

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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] Commented: (JAMES-956) work on james-server-experimental-activemq-function

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829762#action_12829762 ] 

Norman Maurer commented on JAMES-956:
-------------------------------------

@Mario: Did you already start to work on this ? Maybe it worth to start some thread on server-dev ? I really would like to get this integrated for james and so try to assist you (Even if my jms vodoo is limited)

> work on james-server-experimental-activemq-function
> ---------------------------------------------------
>
>                 Key: JAMES-956
>                 URL: https://issues.apache.org/jira/browse/JAMES-956
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Mario Zsilak
>            Priority: Trivial
>
> Hi,
> I'm very interested in using james with active-mq (or any other message broker) .
> My Plan is to:
> -) write an SMTP handler which replaces the current org.apache.james.smtpserver.integration.SendMailHandler and puts the message into MQ
> -) write a spool manager which listens on messages an processes them, if a message would be "moved" to a different processor, then it shall be put into a different MQ and/or distinguishable in a other way ... (don't not yet)
> -) review and extend the current active-mq stuff
> In the end I want to be able to use a bunch of james servers which are connected through a commen message broker.
> what do you guys think about this?

-- 
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