• Post Reply Bookmark Topic Watch Topic
  • New Topic

javax mail best practice  RSS feed

 
David Spades
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,



I realized in the following snippet that process(m) could easily take 2-3 minutes per message (and we deal with 10-20 messages per poling).
if you can see here, we keep the store when doing the long processing of messages.
is there any side effect of this code?
thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!