uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Created: (UIMA-1303) Uima AS Creates Jms Sessions With Wrong Acknowledgment Property
Date Thu, 26 Mar 2009 20:54:50 GMT
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.


Mime
View raw message