camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wolf <markus.w...@nmmn.com>
Subject Re: JMS + Fault
Date Thu, 02 Oct 2008 15:14:46 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

is there a way to signal the dead letter handler that an error has been
processed by a custom processor?

We have a route like this:

exception(SomeException.class).beanRef("SomeProcessor");
from("jms:queue...").beanRef("OtherProcessor");

When there is an exception in 'OtherProcessor' the dead channel is
triggered to handle the error or redeliver it. Our 'SomeProcessor' bean
is called then and does some error handling and setting the exchanges
exception to null.
Afterwards the jms EndpointMessageListener throws an exception and does
not write back our out-Message to the reply-to queue. But we need to
send a response back even in case of an exception. Is there a way to do so?

Thanks for any help
Markus Wolf
- --
NMMN - New Media Markets & Networks GmbH
Geschäftsführung: Kfm. Michael Schütt
Finanzamt HH-Altona UStID DE 812 699 852  HRB 71102 Hamburg
HypoVereinsbank  -   BLZ 200 300 00  -  Konto-Nr. 156 29 82

http://www.nmmn.com               Tel.: +49 40 284 118 -0
Langbehnstrasse 6                 Entwicklung:         -720
22761 Hamburg                     Fax:                 -999

Rufen Sie uns kostenlos an: http://www.nmmn.com/call/software

+++ Hausmesse am 14.11.2008 von 10:00 bis 16:00 Uhr +++
Überzeugen Sie sich auf unserer Hausmesse von unseren Produkten und
Dienstleistungen! Weitere Informationen und Anmeldung unter:
http://www.nmmn.com/hausmesse/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI5OVmDBHISU1oEKERAopNAKDL5WSAd6ESzJZCiRP2FDXsMxNhHQCfaTpB
Sng04tyTi+z0OvCEfQzzuLM=
=4WgF
-----END PGP SIGNATURE-----

Mime
View raw message