Continuation problems when Max Idle Time ocurr
----------------------------------------------

                 Key: SM-1035
                 URL: https://issues.apache.org/activemq/browse/SM-1035
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-http
         Environment: Servicemix 3.1
            Reporter: Jorge Rodríguez Pedrianes
             Fix For: 3.1.2


HI!

    I saw in Http binding component, that if my service work too time, the http 
endpoint retry the current request. but this it's wrong. I think that in 
ConsumerProcessor class it's better to do this: 
{code:title=ConsumerProcessor java|borderStyle=solid}
...
 public void process(HttpServletRequest request, HttpServletResponse response) 
throws Exception {
   ....
   // If the continuation is not a retry
   if (!cont.isPending() && cont.isNew()) {
          ...
}
{code}

Whith this we avoid put the request two times in the bus.

Thanks.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to