[ 
https://issues.apache.org/jira/browse/UIMA-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik closed UIMA-1303.
-------------------------------

    Resolution: Fixed

This was primarily Uima AS client API problem. Modified all createSession() 
calls to use Session.AUTO_ACKNOWLEDGE constant.

> Uima AS Creates Jms Sessions With Wrong Acknowledgment Property
> ---------------------------------------------------------------
>
>                 Key: UIMA-1303
>                 URL: https://issues.apache.org/jira/browse/UIMA-1303
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>
> When creating a jms session Uima AS uses the following:
> connection.createSession(false, 0);
> The above is bad in two ways:
> 1) uses a hardcoded value of 0 instead of constant from Session class
> 2) the intended value for the second param is Session.AUTO_ACKNOWLEDGE whose 
> actual value is 1 not 0.
> Change the second value to the createSession() method to be 
> Session.AUTO_ACKNOWLEDGE

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