On Dec 12, 2007 5:33 PM, Bernd Fondermann <[EMAIL PROTECTED]> wrote:
> James.Strachan wrote:
> >
> >
> > James.Strachan wrote:
> > 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.
>
> +1

+1

incoming messaging via SMTP would be cool

but noel's right that the substantiation question is how to handle the
message conversion from an incoming mail containing a mail message
plus envelope into a message suitable for routing

how does camel handle routing messages via email at the moment?

> > 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?
>
> AFAIK, mailets are only loaded at app initialisation time and are static
> from thereon. This is done by putting a jar on the classpath.
>
> see http://wiki.apache.org/james/CustomMailetPackages

i think a component-centric packaging format for mailets allowing hot
deployment would be good. perhaps just a jar with additional meta-data
in META-INF would be good enough.

- robert

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

Reply via email to