Commons email

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Commons email

David Hoffer
Can commons email be used to listen for new email?  I need a system that
reacts to received emails...not just send email.  I've been using java mail
but find it difficult to use reliably.

-Dave
Reply | Threaded
Open this post in threaded view
|

RE: Commons email

Nation, Carey
Haven't used it in a while, but I thought it was just an smtp client.

procmail?

-----Original Message-----
From: David Hoffer [mailto:[hidden email]]
Sent: Thursday, June 24, 2010 11:27 AM
To: [hidden email]
Subject: Commons email

Can commons email be used to listen for new email?  I need a system that
reacts to received emails...not just send email.  I've been using java
mail
but find it difficult to use reliably.

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Commons email

Siegfried Goeschl
Hi David,

listening for new emails is beyond the scope of commons-email since it
is focused on simplifying the generation and sending of emails.

Depending on what you want to do you can fetch emails from within your
application or have a look at Apache James (http://james.apache.org).

Cheers,

Siegfried Goeschl

On 24.06.10 17:35, Nation, Carey wrote:

> Haven't used it in a while, but I thought it was just an smtp client.
>
> procmail?
>
> -----Original Message-----
> From: David Hoffer [mailto:[hidden email]]
> Sent: Thursday, June 24, 2010 11:27 AM
> To: [hidden email]
> Subject: Commons email
>
> Can commons email be used to listen for new email?  I need a system that
> reacts to received emails...not just send email.  I've been using java
> mail
> but find it difficult to use reliably.
>
> -Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: [commons pipeline]

southmark
I've had a chance to use Commons Pipeline recently and I'm a fan :-). I wondered if I might contribute back a few Stages that I've written? The first two have dependencies on commons-collections and the last two on Hibernate. Maybe they could go into a user-contrib project?

GroupStage:      Add single objects to an ArrayList. Emits at a predetermined size.
UngroupStage: Emit single objects by iterating over an Iterable, Iterator, Array or single object.
SessionStage:    Ensures that each Thread operating on a Stage gets its own Hibernate session.
CommitStage:   Calls Session.save on each Hibernate object and commits with a predefined frequency.

Best regards,
~Mark.

-----Original Message-----
From: Siegfried Goeschl [mailto:[hidden email]]
Sent: Thursday, June 24, 2010 6:53 PM
To: Commons Users List
Subject: Re: Commons email

Hi David,

listening for new emails is beyond the scope of commons-email since it
is focused on simplifying the generation and sending of emails.

Depending on what you want to do you can fetch emails from within your
application or have a look at Apache James (http://james.apache.org).

Cheers,

Siegfried Goeschl

On 24.06.10 17:35, Nation, Carey wrote:

> Haven't used it in a while, but I thought it was just an smtp client.
>
> procmail?
>
> -----Original Message-----
> From: David Hoffer [mailto:[hidden email]]
> Sent: Thursday, June 24, 2010 11:27 AM
> To: [hidden email]
> Subject: Commons email
>
> Can commons email be used to listen for new email?  I need a system that
> reacts to received emails...not just send email.  I've been using java
> mail
> but find it difficult to use reliably.
>
> -Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [commons pipeline]

Ken Tanaka
Hi Mark,

That would be excellent if you would share stages that you find useful.
If you are comfortable submitting enhancements as JIRA issues
<http://commons.apache.org/sandbox/pipeline/issue-tracking.html>* you
can suggest an enhancement and then attach your stages. Or I can perform
that task if you'd like. The Hibernate stages should go into some sort
of user-contrib project, but the other two sound like they may fit into
the basic stages.

* http://commons.apache.org/sandbox/pipeline/issue-tracking.html

-Ken

Mark Southern wrote:

> I've had a chance to use Commons Pipeline recently and I'm a fan :-). I wondered if I might contribute back a few Stages that I've written? The first two have dependencies on commons-collections and the last two on Hibernate. Maybe they could go into a user-contrib project?
>
> GroupStage:      Add single objects to an ArrayList. Emits at a predetermined size.
> UngroupStage: Emit single objects by iterating over an Iterable, Iterator, Array or single object.
> SessionStage:    Ensures that each Thread operating on a Stage gets its own Hibernate session.
> CommitStage:   Calls Session.save on each Hibernate object and commits with a predefined frequency.
>
> Best regards,
> ~Mark.
>
> -----Original Message-----
> From: Siegfried Goeschl [mailto:[hidden email]]
> Sent: Thursday, June 24, 2010 6:53 PM
> To: Commons Users List
> Subject: Re: Commons email
>
> Hi David,
>
> listening for new emails is beyond the scope of commons-email since it
> is focused on simplifying the generation and sending of emails.
>
> Depending on what you want to do you can fetch emails from within your
> application or have a look at Apache James (http://james.apache.org).
>
> Cheers,
>
> Siegfried Goeschl
>
> On 24.06.10 17:35, Nation, Carey wrote:
>  
>> Haven't used it in a while, but I thought it was just an smtp client.
>>
>> procmail?
>>
>> -----Original Message-----
>> From: David Hoffer [mailto:[hidden email]]
>> Sent: Thursday, June 24, 2010 11:27 AM
>> To: [hidden email]
>> Subject: Commons email
>>
>> Can commons email be used to listen for new email?  I need a system that
>> reacts to received emails...not just send email.  I've been using java
>> mail
>> but find it difficult to use reliably.
>>
>> -Dave
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>>    
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: [commons pipeline] setFaultTolerance has no effect when using subclasses of ExtendedBaseStage

southmark
It looks like AbstractStageDriver.setFaultTolerance has no effect if the superclass of a Stage is ExtendedBaseStage. Exceptions from the ExtendedBaseStage.innerProcess() method are logged (ExtendedBaseStage:204) but never re-thrown, so the StageDriver never gets to capture them.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]