Daniel,

You can do either scenario.

1) I've put my mailet in the root processor and had it do the work.
Then I send the mail to Null to delete it (or you can keep it).

2) You can also use the ToProcessor (see the virus processor example
in the config file) to match your alias and then send it to a custom
processor with your mailet in it.

Practically, the more I learn about James, the more I favor 2 because
it allows me to better group my config file and code.

Mark


On 4/12/07, Daniel Gradecak <[EMAIL PROTECTED]> wrote:
I do not really get ...

So I understand that there is different processors in the spoolmanager,
and that each mailet inside (if i am not wrong) is executed sequentially.
Now as I have a simple mailet that should send a JMS message whever an
email is received in an inbox, i do not get where i should configure
that mailet.

Is that in the transport processer? at the end?

Please excuse me it is just that i can not understand that from the
docs. :((

Regards,
Daniel

Daniel Gradecak wrote:
> Hello,
>
> I would like to use James to send messages to a JMS queue whenever an
> email is received in a specific inbox?
> Also I would like to store the content of an email to a JCR (Alfresco
> in this case).
>
> I wonder if this is possible to do with mailets and matchers only?
>
> Regards,
> Daniel
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

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



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

Reply via email to