Well...you will only need the mail sender then. Just let the quartz
send a message to your mail sender endpoint. Attach your file to that
message and set up the correct mail properties as described in the
component wiki and that's it.
(http://servicemix.apache.org/servicemix-mail.html)

Regards
Lars




2009/5/6 FUSE <[email protected]>:
>
> ServiceMix 3.3.1.3 currently running on Windows XP.
>
> As new FUSE user, I am trying to determine how to implement a
> servicemix-mail service unit.  I have a servicemix-bean (which is basically
> Java class that reads requests from a JMS Queue).  As each request is
> generated/processed, I am writing/updating statistics to a local text file.
> At a specified time, a Quartz-Timer service unit will need to communicate
> with a servicemix-mail service for the purpose of attaching that file and
> forwarding to a predetermined list of recepients.  That's the question.  I
> am looking for a detailed example implementation on how to do this.  I have
> reviewed the xbean.xml for the Maven generated mail service unit and see a
> mail poller and sender.   Will I need just the mail sender?  How do I
> accomplish my goal or is the servicemix-mail service unit not applicable to
> this scenario (and I should instead use Java mail within the service bean -
> which I prefer not to do).
> Thank you in advance for any help!
> --
> View this message in context: 
> http://www.nabble.com/Servicemix-Mail-SU-needs-to-send-file-attachments-tp23412766p23412766.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>



-- 
http://lhein.blogspot.com

Reply via email to