You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Claus Ibsen <ci...@silverbullet.dk> on 2008/04/28 05:58:38 UTC

Attachment support in camel-core depends on JAF but where is it

Hi

 

CAMEL-385 added attachement support to the camel core.

 

I was wondering since the camel org.apache.camel.Message interface now imports

import javax.activation.DataHandler;

 

The pom.xml for camel-core should have dependency to javax.activation but I can not find it anywhere.

 

 

 

Med venlig hilsen

 

Claus Ibsen

......................................

Silverbullet

Skovsgårdsvænget 21

8362 Hørning

Tlf. +45 2962 7576

Web: www.silverbullet.dk

 


Re: Attachment support in camel-core depends on JAF but where is it

Posted by Willem Jiang <wi...@gmail.com>.
Hi Claus,

It is introduced by the dependency of jaxb.
You can get the maven dependency tree by using the option -X when 
running the mvn install in camel-core.

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[DEBUG] org.apache.camel:camel-core:bundle:1.4-SNAPSHOT (selected for null)
[DEBUG]   org.springframework:spring-aop:jar:2.5.3:test (selected for test)
[DEBUG]     aopalliance:aopalliance:jar:1.0:test (selected for test)
[DEBUG]     commons-logging:commons-logging:jar:1.1.1:test (applying 
version: 1.0.4)
[DEBUG]     commons-logging:commons-logging:jar:1.0.4:test (selected for 
test)
[DEBUG]     org.springframework:spring-beans:jar:2.5.3:test (selected 
for test)
[DEBUG]       commons-logging:commons-logging:jar:1.1.1:test (applying 
version: 1.0.4)
[DEBUG]       org.springframework:spring-core:jar:2.5.3:test (selected 
for test)
[DEBUG]         commons-logging:commons-logging:jar:1.1.1:test (applying 
version: 1.0.4)
[DEBUG]     org.springframework:spring-core:jar:2.5.3:test (selected for 
test)
[DEBUG]       commons-logging:commons-logging:jar:1.1.1:test (applying 
version: 1.0.4)
[DEBUG]   junit:junit:jar:3.8.2:test (selected for test)
[DEBUG]   log4j:log4j:jar:1.2.12:test (selected for test)
[DEBUG]   org.easymock:easymockclassextension:jar:2.3:test (selected for 
test)
[DEBUG]     org.easymock:easymock:jar:2.3:test (selected for test)
[DEBUG]     cglib:cglib-nodep:jar:2.1_3:test (selected for test)
[DEBUG]   commons-logging:commons-logging-api:jar:1.0.4:compile 
(selected for compile)
[DEBUG]   com.sun.xml.bind:jaxb-impl:jar:2.1.3:compile (selected for 
compile)
[DEBUG]     javax.xml.bind:jaxb-api:jar:2.1:compile (selected for compile)
[DEBUG]       javax.xml.bind:jsr173_api:jar:1.0:compile (selected for 
compile)
[DEBUG]       javax.activation:activation:jar:1.1:compile (selected for 
compile)
[DEBUG]   javax.xml.bind:jaxb-api:jar:2.1:compile (selected for compile)
[DEBUG]     javax.xml.bind:jsr173_api:jar:1.0:compile (selected for compile)
[DEBUG]     javax.activation:activation:jar:1.1:compile (selected for 
compile)
[DEBUG]   commons-logging:commons-logging:jar:1.0.4:test (selected for test)
[DEBUG]   org.springframework:spring-context:jar:2.5.3:compile (selected 
for compile)
[DEBUG]     aopalliance:aopalliance:jar:1.0:test (setting scope to: compile)
[DEBUG]     aopalliance:aopalliance:jar:1.0:compile (selected for compile)
[DEBUG]     commons-logging:commons-logging:jar:1.1.1:compile (applying 
version: 1.0.4)
[DEBUG]     commons-logging:commons-logging:jar:1.0.4:test (not setting 
scope to: compile; local scope test wins)

Willem


Claus Ibsen wrote:
> Hi
>
>  
>
> CAMEL-385 added attachement support to the camel core.
>
>  
>
> I was wondering since the camel org.apache.camel.Message interface now imports
>
> import javax.activation.DataHandler;
>
>  
>
> The pom.xml for camel-core should have dependency to javax.activation but I can not find it anywhere.
>
>  
>
>  
>
>  
>
> Med venlig hilsen
>
>  
>
> Claus Ibsen
>
> ......................................
>
> Silverbullet
>
> Skovsgårdsvænget 21
>
> 8362 Hørning
>
> Tlf. +45 2962 7576
>
> Web: www.silverbullet.dk
>
>  
>
>
>   


RE: Attachment support in camel-core depends on JAF but where is it

Posted by Claus Ibsen <ci...@silverbullet.dk>.
+1 to avoid the dependency

Created a ticket for it CAMEL-526


Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: chirino@gmail.com [mailto:chirino@gmail.com] On Behalf Of Hiram Chirino
Sent: 16. maj 2008 20:26
To: camel-dev@activemq.apache.org
Subject: Re: Attachment support in camel-core depends on JAF but where is it

+1 avoid it if possible.

On Mon, Apr 28, 2008 at 10:01 AM, James Strachan
<ja...@gmail.com> wrote:
> BTW I'm wondering if we can avoid the strong dependency on JAX; so
> that folks who don't need attachments don't have to have JAX on the
> classpath to use Camel?
>
> 2008/4/28 Claus Ibsen <ci...@silverbullet.dk>:
>> Hi
>>
>>
>>
>>  CAMEL-385 added attachement support to the camel core.
>>
>>
>>
>>  I was wondering since the camel org.apache.camel.Message interface now imports
>>
>>  import javax.activation.DataHandler;
>>
>>
>>
>>  The pom.xml for camel-core should have dependency to javax.activation but I can not find it anywhere.
>>
>>
>>
>>
>>
>>
>>
>>  Med venlig hilsen
>>
>>
>>
>>  Claus Ibsen
>>
>>  ......................................
>>
>>  Silverbullet
>>
>>  Skovsgårdsvænget 21
>>
>>  8362 Hørning
>>
>>  Tlf. +45 2962 7576
>>
>>  Web: www.silverbullet.dk
>>
>>
>>
>>
>
>
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Attachment support in camel-core depends on JAF but where is it

Posted by Hiram Chirino <hi...@hiramchirino.com>.
+1 avoid it if possible.

On Mon, Apr 28, 2008 at 10:01 AM, James Strachan
<ja...@gmail.com> wrote:
> BTW I'm wondering if we can avoid the strong dependency on JAX; so
> that folks who don't need attachments don't have to have JAX on the
> classpath to use Camel?
>
> 2008/4/28 Claus Ibsen <ci...@silverbullet.dk>:
>> Hi
>>
>>
>>
>>  CAMEL-385 added attachement support to the camel core.
>>
>>
>>
>>  I was wondering since the camel org.apache.camel.Message interface now imports
>>
>>  import javax.activation.DataHandler;
>>
>>
>>
>>  The pom.xml for camel-core should have dependency to javax.activation but I can not find it anywhere.
>>
>>
>>
>>
>>
>>
>>
>>  Med venlig hilsen
>>
>>
>>
>>  Claus Ibsen
>>
>>  ......................................
>>
>>  Silverbullet
>>
>>  Skovsgårdsvænget 21
>>
>>  8362 Hørning
>>
>>  Tlf. +45 2962 7576
>>
>>  Web: www.silverbullet.dk
>>
>>
>>
>>
>
>
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Attachment support in camel-core depends on JAF but where is it

Posted by James Strachan <ja...@gmail.com>.
BTW I'm wondering if we can avoid the strong dependency on JAX; so
that folks who don't need attachments don't have to have JAX on the
classpath to use Camel?

2008/4/28 Claus Ibsen <ci...@silverbullet.dk>:
> Hi
>
>
>
>  CAMEL-385 added attachement support to the camel core.
>
>
>
>  I was wondering since the camel org.apache.camel.Message interface now imports
>
>  import javax.activation.DataHandler;
>
>
>
>  The pom.xml for camel-core should have dependency to javax.activation but I can not find it anywhere.
>
>
>
>
>
>
>
>  Med venlig hilsen
>
>
>
>  Claus Ibsen
>
>  ......................................
>
>  Silverbullet
>
>  Skovsgårdsvænget 21
>
>  8362 Hørning
>
>  Tlf. +45 2962 7576
>
>  Web: www.silverbullet.dk
>
>
>
>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com