Hi, On Wed, Oct 27, 2010 at 6:01 AM, Abid Khan-EXT <[email protected]> wrote: > Thanks for quick response, > > Synapse version is 1.2 > > Please see attached synapse.xml
I had a quick look at the synapse.xml. It looks alright. But since there is some custom code involved I cannot make a conclusion. Can you try to isolate the issue at your end? Basically create a new synapse.xml with a simple proxy service (you can create a proxy service for the sample service - SimpleStockQuoteService) without any custom mediators and invoke it. After a couple of successful invocations take down the backend service and try again. See if the problem occurs. Another thing you can try is enabling debug level logs. Enable debug level logs for org.apache.synapse and org.apache.synapse.transport packages and try sending a message with the backend endpoint down. If you can attach the debug logs I can try to figure out what's going on. Thanks, Hiranya > > Thanks, > Abid > > -----Original Message----- > From: Hiranya Jayathilaka [mailto:[email protected]] > Sent: Tuesday, October 26, 2010 5:58 PM > To: [email protected] > Subject: Re: Any help would be appreciated ! synapse is reprocessing the > message if the target (EPR) product fails to respond. > > Hi, > > I haven't come across any issue like that. Please let us know the > Synapse version and attach your synapse.xml. > > Thanks, > Hiranya > > On Tue, Oct 26, 2010 at 8:40 PM, Abid Khan-EXT <[email protected]> wrote: >> Please help in this scenario, I really want synapse to process one message >> only one time. >> >> -----Original Message----- >> From: Abid Khan-EXT [mailto:[email protected]] >> Sent: Monday, October 25, 2010 2:44 PM >> To: [email protected] >> Subject: Synapse is reprocessing the message if the target (EPR) product >> fails to respond. >> >> Hello all, >> >> This is very strange behavior, I have a proxy that has a http endpoint at >> the end of the process. If that endpoint is down for any reason. It look >> like the message is being posted twice. >> >> For example a proxy "TestProxy" is receiving the message the very first >> mediator logs the message into a table in database. then the send mediator >> tries to send it to an http endpoint. >> >> If the product at that endpoint is not running, the same message is posted >> again. It ends up being saved into database as a new message. >> >> Please help. >> Thanks >> Abid >> > > > > -- > Hiranya Jayathilaka > Senior Software Engineer; > WSO2 Inc.; http://wso2.org > E-mail: [email protected]; Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com > -- Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.; http://wso2.org E-mail: [email protected]; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com
