[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tuscany-user
Subject:    Re: FW: Tuscany 1.6 and JavaMail 1.4.4?
From:       Simon Laws <simonslaws () googlemail ! com>
Date:       2011-05-24 8:56:30
Message-ID: BANLkTinrq93FRA-P=Pk_1DG=oA7g1Wxe7g () mail ! gmail ! com
[Download RAW message or body]

On Tue, May 24, 2011 at 9:49 AM, ant elder <ant.elder@gmail.com> wrote:
>
>
> On Tue, May 24, 2011 at 9:32 AM, Millies, Sebastian
> <Sebastian.Millies@ids-scheer.com> wrote:
>>
>> > -----Original Message-----
>> > From: Simon Laws [mailto:simonslaws@googlemail.com]
>> > Sent: Tuesday, May 24, 2011 9:21 AM
>> > To: user@tuscany.apache.org
>> > Subject: Re: Tuscany 1.6 and JavaMail 1.4.4?
>> >
>> > On Mon, May 23, 2011 at 2:05 PM, Millies, Sebastian
>> > <Sebastian.Millies@ids-scheer.com> wrote:
>> > > Hello there,
>> > >
>> > > I’d like to use the JavaMail API v. 1.4.4  with my SCA application,
>> > while Tuscany 1.6
>> > > seems to include some earlier version (which does not have the
>> > ByteArrayDataSource class).
>> > >
>> > > Can I safely put the mail.jar from JavaMail 1.4.4 as well as its
>> > dependencies (dsn.jar,
>> > > imap.jar, mailapi.jar, pop3.jar, smtp.jar) in my classpath in front
>> > of the Tuscany libraries?
>> > >
>> > > -- Sebastian
>> > >
>> > >
>> >
>> > Hi Sebastian
>> >
>> > I expect the lack of response means that nobody's tried it.
>> >
>> > Simon
>> >
>> > --
>> > Apache Tuscany committer: tuscany.apache.org
>> > Co-author of a book about Tuscany and SCA: tuscanyinaction.com
>>
>> I'll try it and get back to the list in case of problems. I don't really
>> expect
>> any problem, because the interfaces haven't changed, just been added to.
>>
>> Is there a test in the official Tuscany 1.6 distribution that I should
>> look at?
>> And for what purpose are the mail classes included in Tuscany at all?
>> After all,
>> there is no smtp-binding (or at least no jar called
>> "tuscany-binding-smtp-whatever").
>>
>>
>
> I think its only from a transitive dependency from Axis2 which uses it for
> mime support or its mail transport.
>
> I don't know if the way Tuscany 1.x uses Axis2 actually does require the
> mail jar it may well not be required, - in Tuscany 2.x its not need with the
> Axis2 based WS binding.
>
>    ...ant
>
>

That's a good point Ant. In the later versions of Axis2 the transports
are shipped separately and we don't use the email transport at the
moment.

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic