Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /jms4spread/src/java/org/tigris/jms4spread/

jms4spread
Discussion topic

Back to topic list

CVS update: /jms4spread/src/java/org/tigris/jms4spread/

Reply

Author dlr
Full name Daniel Rall
Date 2002-07-21 18:19:10 PDT
Message User: dlr
Date: 02/07/21 18:19:10

Modified
 /jms4spread/src/java​/org/tigris/jms4spre​ad/
  JMSQueueConnection.java

Log
 Skeletal implementation details taking shape.

File Changes:

Directory: /jms4spread/src/java​/org/tigris/jms4spre​ad/
====================​====================​==============

File [changed]: JMSQueueConnection.java
Url: http://jms4spread.ti​gris.org/source/brow​se/jms4spread/src/ja​va/org/tigris/jms4sp​read/JMSQueueConnect​ion.java.diff?r1=1.2​&r2=1.3
Delta lines: +13 -2
--------------------
--- JMSQueueConnection.java 21 Jul 2002 23:55:33 -0000 1.2
+++ JMSQueueConnection.java 22 Jul 2002 01:19:10 -0000 1.3
@@ -17,14 +17,16 @@
 {
     // ---- QueueConnection impl --------------------​--------------------​-----
 
+ /**
+ * Optional operation which is not yet implemented.
+ */
     public ConnectionConsumer createConnectionConsumer(Queue queue,
                                                        String messageSelector,
                                                        ServerSessionPool sessionPool,
                                                        int maxMessages)
         throws JMSException
     {
- // TODO
- return null;
+ throw new JMSException("create​ConnectionConsumer()​ not implemented");
     }
 
     public QueueSession createQueueSession(boolean transacted,
@@ -32,6 +34,15 @@
         throws JMSException
     {
         // TODO
+ if (transacted)
+ {
+ // Ignore acknowledgeMode.
+ }
+ else
+ {
+ // Check Session acknowledgeMode for AUTO_ACKNOWLEDGE,
+ // CLIENT_ACKNOWLEDGE, and DUPS_OK_ACKNOWLEDGE.
+ }
         return null;
     }
 }




--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@jms4​spread.tigris.org
For additional commands, e-mail: cvs-help at jms4spread dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /jms4spread/src/java/org/tigris/jms4spread/ dlr Daniel Rall 2002-07-21 18:19:10 PDT
Messages per page: