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 "Matthieu Baechler (JIRA)" <se...@james.apache.org> on 2017/07/03 20:42:00 UTC
[jira] [Commented] (JAMES-2072) RFE: support for tight integration
with embedded (ie. Jetty) servers
[ https://issues.apache.org/jira/browse/JAMES-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072901#comment-16072901 ]
Matthieu Baechler commented on JAMES-2072:
------------------------------------------
Hi [~gruust], have a look at https://gist.github.com/mbaechler/ceaa41599f97b0276a0d7930bbf7d467 for an embedded server sample.
It's not on the front page of james.apache.org but I agree it's very important, a lot of people will use James as a mail framework.
> RFE: support for tight integration with embedded (ie. Jetty) servers
> --------------------------------------------------------------------
>
> Key: JAMES-2072
> URL: https://issues.apache.org/jira/browse/JAMES-2072
> Project: James Server
> Issue Type: New Feature
> Components: IMAPServer, mailbox, MailStore & MailRepository, Queue, SMTPServer, UsersStore & UsersRepository
> Affects Versions: 3.0-beta4
> Environment: all
> Reporter: Gruust
>
> Hello!
> I'd like to integrate James with my embedded server. That means:
> * Start and configure all parts of James in (Java) code, possibly via Jetty LifeCycle classes.
> * Make James use my own EntityManager/EntityTransaction, based on Hibernate/H2. Share transactions with the rest of my server, ie. for writing mails sent by the server to the spool or to manage email users/domains from within Servlet context.
> * Make James use tables in my pre-existing database, prefixed with "James" or similar.
> TY!
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org