You also need camel-mail JAR in the lib of AMQ. + all the other JARs listed previously.
On Mon, Nov 29, 2010 at 4:07 PM, Remi Malessa <[email protected]> wrote: > Thanks for the list Claus. > > I've added the jars and I'm getting exactly the same message again: " > > Failed to resolve endpoint: smtp://mysmtpserver.com due to: No component > found with scheme: smtp > > > Can you tell me, if I have to add the component to my camel.xml , file, > soething like: > > <bean id="smtp" class="org.apache.camel.component.mail.MailComponent"> > <property name="configuration"> > <bean class="org.apache.camel.component.mail.MailConfiguration"> > <property name="host" value="mysmtpserver.com" /> > </bean> > </property> > </bean> > > ? > > Or if I had a proper set of libraries the Camel would pick it up > automatically ? > > > Remi > > > > > On 11/29/2010 10:46 AM, Claus Ibsen wrote: >> >> Hi >> >> You need the JARs which is listed as compile. >> >> >> [INFO] The following files have been resolved: >> [INFO] aopalliance:aopalliance:jar:1.0:compile >> [INFO] commons-logging:commons-logging:jar:1.1.1:test >> [INFO] commons-logging:commons-logging-api:jar:1.1:compile >> [INFO] javax.activation:activation:jar:1.1:compile >> [INFO] javax.mail:mail:jar:1.4.3:compile >> [INFO] junit:junit:jar:4.8.1:test >> [INFO] log4j:log4j:jar:1.2.16:test >> [INFO] org.apache.camel:camel-core:jar:2.6-SNAPSHOT:compile >> [INFO] org.apache.camel:camel-spring:jar:2.6-SNAPSHOT:compile >> [INFO] org.apache.camel:camel-test:jar:2.6-SNAPSHOT:test >> [INFO] org.fusesource.commonman:commons-management:jar:1.0:compile >> [INFO] org.jvnet.mock-javamail:mock-javamail:jar:1.7:test >> [INFO] org.springframework:spring-aop:jar:3.0.5.RELEASE:compile >> [INFO] org.springframework:spring-asm:jar:3.0.5.RELEASE:compile >> [INFO] org.springframework:spring-beans:jar:3.0.5.RELEASE:compile >> [INFO] org.springframework:spring-context:jar:3.0.5.RELEASE:compile >> [INFO] >> org.springframework:spring-context-support:jar:3.0.5.RELEASE:compile >> [INFO] org.springframework:spring-core:jar:3.0.5.RELEASE:compile >> [INFO] org.springframework:spring-expression:jar:3.0.5.RELEASE:compile >> [INFO] org.springframework:spring-tx:jar:3.0.5.RELEASE:compile >> >> >> On Mon, Nov 29, 2010 at 11:39 AM, Remi Malessa<[email protected]> wrote: >>> >>> Hi. >>> I have ActiveMQ 5.4.1 . >>> It seems like it doesn't have the smtp component libraries by default. >>> I've tried to juggle with the Camel (on its own) installation but I've >>> got >>> it all mixed up. >>> >>> Could somebody tell me please , how to deal with it properly ? >>> >>> There is a note for Maven users at :http://camel.apache.org/mail.html , >>> but >>> I don't use Maven (I could >>> start if its necessary ) and I am not sure if its possible with the >>> ActiveMQ >>> installation as the Maven files >>> are already in the webapps/camel directory (I am not really sure if its a >>> problem or not). >>> >>> Cheers >>> Remi >>> >> >> > > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
