the problem is solved, I put the same version for all jar files camel *. jar in the lib
Thank very Much, Claus Ibsen-2 wrote: > > Hi > > Are you have all the same version of the camel .jars? Looks like e.g. > camel-core is maybe older etc. > So check your classpath that all camel .jars have the same version number. > > > On Wed, Sep 30, 2009 at 4:08 PM, titexe <abdellatifbouch...@eurofins.com> > wrote: >> >> Hello, >> >> I encountered a problem using the mail component, >> >> I have tried to develop a camel route, which transforms a message in an >> email. >> >> Here is my setup: >> >> <route> >> <from uri="activemq:queue:SMTP"/> >> <t >> uri="smtp://serv-smtp-fr:25?password=password&username=user&from=u...@localhost&to=u...@localhost"/> >> </ route> >> >> i have added camel-mail-1.6.1.0-fuse.jar and mail.jar to lib directory, >> >> but i always receive this error: >> >> DefaultComponent DEBUG - Creating endpoint uri = [smtp: / / serv-smtp-en: >> 25? Password = password & username = user & from = user @ localhost & to >> = >> user @ localhost], path = [smtp-serv-en: 25], parameters = [ (to = user @ >> localhost, username = user from = user @ localhost, password = password)] >> >> Failed to execute main task. Reason: java.lang.NoSuchMethodError: >> org.apache.camel.util.ObjectHelper.notEmpty (Ljava / lang / String; Ljava >> / >> lang / String;) V >> INFO BrokerService - ActiveMQ Message Broker (FR03LAP621, ID: >> FR03LAP621-4688-1254315904400-0: 0) is shutting down >> DEBUG BrokerService - Caught exception, must be shutting down: >> java.lang.IllegalStateException: Shutdown in progress >> >> thanks in advance to help to resolve this problem, >> >> best regards, >> >> titexe. >> -- >> View this message in context: >> http://www.nabble.com/Smtp-component-%3A-error-in-smtp-endpoint-tp25681799p25681799.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> > > > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus > > -- View this message in context: http://www.nabble.com/Smtp-component-%3A-error-in-smtp-endpoint-tp25681799p25681999.html Sent from the Camel - Users mailing list archive at Nabble.com.