You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Gosse, William" <wi...@eads.com> on 2008/12/17 16:26:09 UTC
How to handle DONE exchanges in annotated bean
Hi all,
I send an in/out message from the http-consumer in the following workflow:
HTTP-CONSUMER --> CONTENT-BASED-ROUTER --> BEAN-SU
The content based router route in/out exchanges from http-consumer to an
annotated bean, calling a specific operation.
The bean contains several methods annotated with @Operation(name =
"myOperationName")
My problem is that I do not know how to handle exchanges with the status
DONE in such a bean.
With a bean implementing the MessageExchangeListener interface, DONE
exchange are handled by the onMessageExchange method, but what's about
annotated beans?
Thanks for your help.
Willam