james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: As far as I am concerned 0.7 is ready
Date Mon, 18 Jul 2011 11:08:13 GMT
Hi all,

I updated jDKIM and it worked fine. I'm also trying to update another
local project I have depending on mime4j trunk and I'm a bit lost
about using a custom DecodeMonitor via dom.
Here is the code I'm updating...
factory = MessageServiceFactory.newInstance();
factory.setAttribute("StorageProvider", new MemoryStorageProvider());
factory.setAttribute("MimeEntityConfig", mimeEntityConfig);
MessageBuilder builder = factory.newMessageBuilder();
builder.setDecodeMonitor(new CheckHandlerDecodeMonitor(eh));
Message message = builder.parseMessage(is);

setDecodeMonitor is not anymore exposed by the interface. I thought we
discussed this very thing in past but I run some search with no
success (so probably my memory is leaking).
Is this feature exposed in a different way that I can't currently find?
Or otherwise, how can we expose it again?
- one more possibile attribute in the factory?
- adding parseMessage(InputStream,DecodeMonitor) and
parseHeader(InputStream,DecodeMonitor) methods to the MessageBuilder?
- simply publishing the setDecodeMonitor from MessageBuilderImpl to
Or instead you think this feature should not be anymore exposed via
the dom api at all?


2011/7/18 Norman Maurer <norman@apache.org>:
> Am 18.07.2011 11:26, schrieb Oleg Kalnichevski:
>> On Sun, 2011-07-17 at 21:50 +0200, Norman Maurer wrote:
>>> Hi Oleg,
>>> is this up-to-date for 0.7 ?
>>> http://svn.apache.org/viewvc/james/mime4j/trunk/RELEASE_NOTES.txt?view=markup
>>> I guess no, as it was last updated 14 Month ago. Would be possible for
>>> (and Stefano) to update to reflect latest API changes ?
>>> Thanks,
>>> Norman
>>> Ps: After that I will start the RELEASE process
>> I updated the release notes with the bits I felt deserved a mention. I'd
>> be nice, though, if Stefano could also chip in. I'd also be nice if an
>> native English speaker could proof-read the notes.
>> Cheers
>> Oleg
> Thanks Oleg,
> I will now wait for Stefano to chime in.
> Bye,
> Norman

View raw message