Hi Riyadh,

Riyadh wrote:
Hi Ruwan,
>>Isn't there a requirement saying that if one sequence drops the message
>>non of the sequences are going to send the message out. I understood
>>your requirement like that..... Please correct me if I am wrong.
No..my requirement does not prohibit sending message out from any sequence if any other sequnce fails. i have to capture only the services to which the message was successfully sent from the corresponding sequnce.
AAAAAhhhhhhhh... Sorry, I was making it complex. Well, there is no way inside synapse that we can detect the successful delivery at least for the moment. But you could simulate this using the response message from the server, assuming this is a two way communication.

You need to set the address to which you send the message as a message property using the property mediator before sending the message out and these properties will be available in the response from the server. So when the response arrives to ESB, you could use the above property that we set to the message to retrieve the service endpoint, since you got the response you can guarantee that the message has been delivered to the appropriate service.

Will this be OK with you?

Thanks,
Ruwan


_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to