camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From titexe <AbdellatifBOUCH...@eurofins.com>
Subject Smtp component : error in smtp endpoint
Date Wed, 30 Sep 2009 14:08:32 GMT

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=user@localhost&to=user@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.


Mime
View raw message