James.Strachan wrote:
> 
> 
> robert burrell donkin-2 wrote:
>> 
>> On Dec 1, 2007 6:17 PM, Noel J. Bergman <[EMAIL PROTECTED]> wrote:
>>> Robert Burrell Donkin wrote:
>>>
>>> > Tom Brown wrote:
>>> > > 3. As SMTP-to-JMS bridge (reverse of #1)
>>> > > a. JAMES receives mail
>>> > > b. JAMES publishes mail to specific JMS queue or topic
>>> > > c. mail is processed/stored/whatever by any interested listeners
>>> > fancy volunteering to contribute some code to do this?
>> 
> 
> Here's the code using Camel :)
> 
> from("pop3:[EMAIL PROTECTED]"). // we could transform here if we like...
>   to("activemq:MyQueue");
> 
> 
> To do 3a) nicer , we might wanna write some James component for Camel so
> we can effectively use Mailets from inside Camel. So maybe something
> like...
> 
> from("james:localhost"). 
>   to("activemq:MyQueue");
> 
> Then we could do Content Based Routing type stuff etc.
> http://activemq.apache.org/camel/content-based-router.html
> 

We've got JavaMail integration in Camel already, but am sure we could use
better JAMES integration...
http://activemq.apache.org/camel/mail.html

I'd be happy to hack up a Camel JAMES/Mailet component so you could use
Camel routes to consume from JAMES Mailets if folks think it'd be useful. I
could just use some pointers on how to dynamically register a new Mailet
onto a JAMES server via Java code if thats possible. e.g. I was thinking a
Camel consumer, from("james:localhost"), could essentially create a Mailet
and register itself?

--
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

-- 
View this message in context: 
http://www.nabble.com/ActiveMQ-tp14037280p14289484.html
Sent from the James - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to