Re: Email to Cloud Use case

2014-08-04 Thread Mahesh Sivarama Pillai
Thanks Eric. A queuing system definitely makes sense here. I am trying to understand bit more on the design considerations while using James. Spool itself is a queue. If I have enough storage space and the SLA expectation for processing the email is within a reasonable amount of time say 5

Re: Email to Cloud Use case

2014-08-04 Thread Eric Charles
When received, the mail is kind-of queued in the mailet container [1]. We also have specific queues for the RemoteDelivery case, but in that case, the dequeing is not managed by the mailet lifecycle. Wherever you plan to have an external queuing system (JMS or whatever), you need to take care on

Re: Email to Cloud Use case

2014-08-04 Thread Mahesh Sivarama Pillai
Yes Eric.. thats exactly I was planning to do; having the external service interaction before the mail is locally delivered. Spool will act as Queue in this case and Mailet will do the business logic and external service call etc.. and once the processing is done, the mail will be available in

Re: Email to Cloud Use case

2014-08-03 Thread Eric Charles
You have to implement your self the queing system, a bit like the RemoteDelivery mailet. Having an abstraction for this feature would be indeed cool. On 07/25/2014 04:59 PM, Mahesh Sivarama Pillai wrote: Thanks Ozgur. We are planning to have a it forwarded it to an ESB which has the queuing

Re: Email to Cloud Use case

2014-07-25 Thread Özgür EROĞLU
On 07/13/2014 11:16 PM, Mahesh Sivarama Pillai wrote: Hi, It would be better to put mail or its reference (if you use a db or filesystem to save messages temporarily) to a message queue and then at the service side implement a consumer to get messages for processing. This way you will

Re: Email to Cloud Use case

2014-07-25 Thread Mahesh Sivarama Pillai
Thanks Ozgur. We are planning to have a it forwarded it to an ESB which has the queuing and other features in the next phase. If I implement the feature in the mailtet without a Queue, the messages will be available in the spool and will move to the inbox only when the webservice call is

Email to Cloud Use case

2014-07-13 Thread Mahesh Sivarama Pillai
Hi, I am planning to use James Server for a Mail-to-Cloud use case. Here is what I am planning to do. 1. Receive email redirected from the Corporate Email Server to James (100K emails per day) 2. Do some validation/filter etc on the received email 3. Call the cloud web service with the email