Joram 4.3.14

org.objectweb.joram.client.jms
Class ConnectionConsumer

java.lang.Object
  extended by org.objectweb.joram.client.jms.ConnectionConsumer
All Implemented Interfaces:
javax.jms.ConnectionConsumer

public class ConnectionConsumer
extends java.lang.Object
implements javax.jms.ConnectionConsumer

Implements the javax.jms.ConnectionConsumer interface.


Field Summary
static java.lang.String QUEUE_MSG_COUNT
          This property allows to set the maximum number of messages get by each request, its default value is 1.
 
Method Summary
 void close()
          API method.
 boolean getQueueMode()
           
 javax.jms.ServerSessionPool getServerSessionPool()
          API method.
 java.lang.String getTargetName()
           
 java.lang.String toString()
          Returns a string image of the connection consumer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUEUE_MSG_COUNT

public static final java.lang.String QUEUE_MSG_COUNT
This property allows to set the maximum number of messages get by each request, its default value is 1.

See Also:
Constant Field Values
Method Detail

getTargetName

public final java.lang.String getTargetName()

getQueueMode

public final boolean getQueueMode()

toString

public java.lang.String toString()
Returns a string image of the connection consumer.

Overrides:
toString in class java.lang.Object

getServerSessionPool

public javax.jms.ServerSessionPool getServerSessionPool()
                                                 throws javax.jms.JMSException
API method.

Specified by:
getServerSessionPool in interface javax.jms.ConnectionConsumer
Throws:
javax.jms.IllegalStateException - If the ConnectionConsumer is closed.
javax.jms.JMSException

close

public void close()
           throws javax.jms.JMSException
API method.

Specified by:
close in interface javax.jms.ConnectionConsumer
Throws:
javax.jms.JMSException - Actually never thrown.

Joram 4.3.14

Copyright © 2005 Scalagent - All rights reserved