[ 
https://issues.apache.org/activemq/browse/SM-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39018
 ] 

Guillaume Nodet commented on SM-936:
------------------------------------

Yeah, in such a case, you just need to call 
  done(exchange)
or
  exchange.setStatus(ExchangeStatus.DONE)
  getDeliveryChannel().send(exchange)

after the call to sendSync, and after having processed the exchange output 
response.

ServiceMix really lacks a good JDBC component.  
Is yours something you might contribute ?

> FilePoller component leaves the target endpoint in dirty state
> --------------------------------------------------------------
>
>                 Key: SM-936
>                 URL: https://issues.apache.org/activemq/browse/SM-936
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-file
>    Affects Versions: 3.1
>            Reporter: Dejan Predovic
>
> FilePoller invokes the target endpoint using simply sendSync(). Many 
> components require additional call to done() to ensure cleanup and resource 
> release. Any such component when invoked from FilePoller, FtpPoller (or any 
> other poller written on the basis of the two) will "leak".

-- 
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