Where are you on this component? Do you plan on donating the code to the ServiceMix project? I also have a use for such a component, but haven't developed one yet.
Regards, Jeff Ralf Wunsch wrote: > > > gnodet wrote: >> >> A few questions: >> * How are the errorHandler and errorHandlerConfig related ? >> * If I want to handle a given exception specifically, i guess >> I need to implement a custom errorHandler, right ? >> * how does the errorHandler plug into the jbi container ? >> > > * If i have more than one ErrorHandlerComponent in the flow it should be > possible to use one ErrorHandler with different configurations for each > ErrorHandlerComponent (e.g. to specify different targets for different > types of failed messages). To provide this the configuration for the > ErrorHandler has been extracted and assembled in the ErrorHandlerConfig > XBean. > > * In my opinion the error handler hook and the handlers strategy should be > separated. I am involved in a migration project (from a commercial EAI > solution to open source). In the current EAI system an error handler is > always implemented. We want to migrate this solution that is based on a > set of database stored rules. I think there can be a lot of error handler > strategy implementations. One default handler can be an implementation as > discussed before. > > * At this time i am using my own extension of the JBIContainer. This > extension registeres an ErrorEventListener as EventListener by default. I > have not found a way to configure event listeners in the deployment > descriptor. The ErrorHandler is a attribute of the extended container (the > getter/setter methods are using the ErrorEventListerners 'errorHandler' > attribute). > > Best regards, > Ralf Wunsch > -- View this message in context: http://www.nabble.com/Declarative-Exception-Handling-in-ServiceMix-tf2161788.html#a7019056 Sent from the ServiceMix - Dev mailing list archive at Nabble.com.