You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org> on 2009/03/26 21:54:50 UTC
[jira] Created: (UIMA-1303) Uima AS Creates Jms Sessions With Wrong
Acknowledgment Property
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.
[jira] Updated: (UIMA-1303) Uima AS Creates Jms Sessions With Wrong
Acknowledgment Property
Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik updated UIMA-1303:
--------------------------------
Fix Version/s: 2.3AS
> 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
> Fix For: 2.3AS
>
>
> 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.
[jira] Closed: (UIMA-1303) Uima AS Creates Jms Sessions With Wrong
Acknowledgment Property
Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
[ 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.