I wrote a simple MailRepository to work out the kinks, and I'm having trouble
configuring James. I added the following to assembly.xml:
<block name="pop3server" class="org.apache.james.pop3server.POP3Server">
<provide name="mymailrespository"
role="org.apache.james.services.MailRepository" />
...
</block>
...
<block name="mymailrespository" class="com.mycompany.MyMailRepository"/>
When I start James, I get an error message stating "Missing BlockInfo for
class com.mycompany.MyMailRepository".
Also, do I need to modify config.xml and add a block under mailstore >
repositories? My repository uses a proprietary system and does not follow
the file, mbox, db, or dbfile protocol.
Norman Maurer-3 wrote:
>
> Hi Michael,
>
> for a costum message store you need to implement the MailRepository
> interface. Maybe AbstractMailRepository should be a good starting point
> too.. Keep in mind that a MailRepository needs be thread-safe!
> For a costum authentication backend you you create your own
> UserRepository.
>
> After you did the job you need to modify the assembly.xml to load your
> implementations.
>
> bye
> Norman
>
> Michael Valenty schrieb:
>> I would to use James as a POP3 gateway to an existing messaging/crm
>> system.
>> So far, I think I need to write a custom MailStore or MailRepository (or
>> both) to work with my company's crm application. I have been looking
>> around
>> and I haven't seen much discussion or examples of similar projects which
>> leads me to beleive I'm on the wrong path. Any insight or starting point
>> would be appreciated.
>>
>> In other words, how do I integrate James with a proprietary backend for
>> authentication and messages storage?
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/POP3-Gateway-tf3780260.html#a10743526
Sent from the James - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]