Stefan,If you add a <bean id=".."/> to the camel-context.xml file in your Camel SU, you can integrate this into your Camel route with the camel-bean component (http://activemq.apache.org/camel/bean-integration.html). There is no need to go through the JBI layer for it.
The Camel route will look something like
from("imap://[EMAIL PROTECTED]").to("bean:id-of-bean")
Regards,
Gert
stlecho wrote:
Hi, I would like to retrieve message from a mailbox and pass them to a Spring bean that allows the further processing of the mail message and its attachments. The "<to uri="jbi:service:http://test.com/mail/router"/>" should be connected to a Spring bean. Is this possible ? If yes, is it possible to provide an example of such a configuration ? Regards, Stefan Lecho. James.Strachan wrote:On 09/12/2007, xtof <[EMAIL PROTECTED]> wrote:Hello, problem is solved. It was due to an incompatibility between servicemix and camel from trunk. Not same release of camel in servicemix. Recompiling servicemix with Camel trunk solves the issue.Great, thanks for letting us know!As a result pop3s works fine. It's just necessary to convert pop3s message in XML and DomSource before injecting it into ServiceMix.Hmm - I wonder if we should do this by default. What did you have to do to get things working? -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
