I use Petals as an intermediate layer between the client and the webservice. The providers and consumers work OK. But, if the target webservice does not respond ( error 500, no answer at all, ...), the message is lots.
Is there a way to configure Petals so that the message remains in a queue, so it can be processed later on ?
You lost your message if you use the message pattern "InOnly" or "RobustInOnly". If you use the pattern "InOut", your client should manage the returned error.
Take a look at the component SE ASE that must be placed into your consumer and your web-service. This JBI component creates a facade service to your web-service. This service put the message in a queue until your web-service is unavailable.
Thanks for the quick answer, but does anyone has an real example of how to implement ASE in Petals ?
I don't know how to configure the Generic wizard when creating a SU...
I have created a su-Generic-ws_sample-consume , but I don't see how to reference the ASE SE
The part 'provides' is relative to the service that will be created by SE ASE. You will invoke it from your consumer.
The part 'consumers' is relative to the real service that is facadized, in your case, the web-service. In 'interface-name', 'service-name' and 'endpoint-name' you set your service name associated to your web-service.