You could implement an Action to perform the checksum check and then configure that action into the action chain.
How should validations be normally done in the ESB?
What is the approach to validate the incoming request, response?
Is writing custom Actions with Java code, the preferred approach ?
There is an XSD based validation action available. Implementing a custom actions is also an option.
Thanks for your prompt response.
How can the XSD based validation be done for JMS messages?
Further, presume if we write a custom Action, the entire message parsing will hv to be coded for. Is this the best approach?
OK... sorry.... but "validation" is quite a broad term, so what exactly is your use case?
The XSD based validation would only be relevant for an XML based payload. The fact that it is being delivered to the service via JMS is pretty much of irrelevant as far as what it does is concerned.
So it sounds like you need to perform some other form of validation, yes?
Hmm..understand that the transport mechanism is independent of the message being transfered.
But then, isn't the payload commonly XML based.
XSD based can mainly offer structural validations like if an element is present and its data type, right?
Is there some example for custom Actions, where a message is broken down for certain business validations?
Also, are MessageFilter, Drools used for validations?
[New to ESB...so pardon the generic questions.]
Hi. Can someone throw some light on this please ?