You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by David Hoffer <dh...@gmail.com> on 2010/06/24 17:27:07 UTC

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

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

Posted by Mark Southern <so...@scripps.edu>.
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: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: [commons pipeline]

Posted by Ken Tanaka <Ke...@noaa.gov>.
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:siegfried.goeschl@it20one.at] 
> 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:dhoffer6@gmail.com]
>> Sent: Thursday, June 24, 2010 11:27 AM
>> To: user@commons.apache.org
>> 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: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


RE: [commons pipeline]

Posted by Mark Southern <so...@scripps.edu>.
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:siegfried.goeschl@it20one.at] 
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:dhoffer6@gmail.com]
> Sent: Thursday, June 24, 2010 11:27 AM
> To: user@commons.apache.org
> 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: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: Commons email

Posted by Siegfried Goeschl <si...@it20one.at>.
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:dhoffer6@gmail.com]
> Sent: Thursday, June 24, 2010 11:27 AM
> To: user@commons.apache.org
> 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: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


RE: Commons email

Posted by "Nation, Carey" <Ca...@turner.com>.
Haven't used it in a while, but I thought it was just an smtp client.

procmail?

-----Original Message-----
From: David Hoffer [mailto:dhoffer6@gmail.com] 
Sent: Thursday, June 24, 2010 11:27 AM
To: user@commons.apache.org
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: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org