Daniel, Assume you write a mailet that sends the message to JMS called com.dansmailet.danJms.
Declare the package in the config element as: <mailetpackage>com.dansmaillet</mailetpackage> Declare the mailet in the config/spoolmanager/processor element as: <mailet match="[EMAIL PROTECTED]" class="danJms"/> You can make your own processor or stick the above line in your 'root' processor to get started. 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]
