2009/2/3 huntc <[email protected]>:
>
> Hi there,
>
> I have posted an entry on my blog with regards to removing Camel
> ProducerTemplate dependencies from services.
>
> http://christopherhunt-software.blogspot.com/2009/02/using-camel-producertemplate-in-pojo.html

Great blog post! I tried to post a reply with links in the comments
but not sure if blogspot gobbled it up or its waiting moderator
approval :)

See this page - the second section:
http://cwiki.apache.org/CAMEL/pojo-producing.html

Basically you can get Camel to use any interface you like to hide the
Camel API - then using the @Produce annotation it will automatically
inject a smart client proxy bound to the endpoint and do all the
binding of the message to the method calls.
-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Reply via email to