camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem.Jiang" <willem.ji...@gmail.com>
Subject Re: Problems with SMTP
Date Mon, 05 Jul 2010 01:05:44 GMT

You can't use @Producer inject the template yourself.
Here is the mail thread[1] that you can take a look :)
[1]
http://camel.465427.n5.nabble.com/Best-way-to-retrieve-a-ProducerTemplate-created-in-a-camel-bundle-OSGI-td511695.html#a511695

Willem
----------------------------------
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter http://twitter.com/willemjiang 


unixployd wrote:
> 
> Problem is solved.
> Correctly configured message in Processor using setHeader and setBody. Now
> it sends successfully.
> 
> Seems like using @Produce somehow correctly resolves endpoint uri and
> configures it, but in route case it need to be configured explicitly.
> 
-- 
View this message in context: http://camel.465427.n5.nabble.com/Problems-with-SMTP-tp512137p654358.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message