[ https://issues.apache.org/activemq/browse/SM-227?page=all ]
Guillaume Nodet updated SM-227: ------------------------------- Fix Version: (was: 3.0) > Provide a way to handle exceptions from exchanges > ------------------------------------------------- > > Key: SM-227 > URL: https://issues.apache.org/activemq/browse/SM-227 > Project: ServiceMix > Type: Improvement > Reporter: George Gastaldi > Attachments: ComponentExceptionListener.java, ExceptionListener.java > > > I have 2 FilePollers that receives messages from 2 folders. The first poller > sends to a XSLT Service Engine and a FTPWriter after. > How can I assure that the message got no errors from > a) Receiving from FilePoller > b) Transforming using XSL > c) Sending to the FTP site ? > If an error occurs when transforming, the message could be mal-formed. How > can an action be done on this ? > If the FTP Site is down, how can a user be notified of that and retry sending > the message later ? > I think that 2 steps must be taken: > 1) Exceptions must be categorized: Is it a communication exception or a > message/exchange error ? > 2) Provide a way to customize the behavior of such event of failure, like > sending an email or writing to a diferent FTP site. > The message must be redelivered also in case of a communication failure. Then: > - How long should a message tried to be redelivered ? > - How many tries it should take before sending an email (handling the > communication failure event) > - Should newer messages be delivered BEFORE pending messages ? > - How can an exchange be redelivered ? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira