A B C D E F G H I J L M N O P Q R S T U V W X Z

A

access() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Update the accessed time information for this session.
acknowledge(Message) - Method in class org.apache.commons.messagelet.BridgeMDO
Strategy method to allow different derived classes to acknowledge messages differently, such as to disable acknowledgements
acquire() - Method in class org.apache.commons.messenger.Lock
Acquires the lock, blocking until the lock can be acquired
activate() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Perform internal processing required to activate this session.
addCookie(Cookie) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Add a Cookie to the set of Cookies associated with this Request.
addCookie(Cookie) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Add the specified Cookie to those that will be included with this Response.
addDateHeader(String, long) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Add the specified date header to the specified value.
addFileset(FileSet) - Method in class org.apache.commons.messenger.task.ProducerTask
Adds a set of files (nested fileset attribute).
addHeader(String, String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Add a Header to the set of Headers associated with this Request.
addHeader(String, String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Add the specified header to the specified value.
addIntHeader(String, int) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Add the specified integer header to the specified value.
addListener(Destination, MessageListener) - Method in interface org.apache.commons.messenger.Messenger
Adds a message listener on the given destination
addListener(Destination, String, MessageListener) - Method in interface org.apache.commons.messenger.Messenger
 
addListener(Destination, MessageListener) - Method in class org.apache.commons.messenger.MessengerSupport
 
addListener(Destination, String, MessageListener) - Method in class org.apache.commons.messenger.MessengerSupport
 
addLocale(Locale) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Add a Locale to the set of preferred Locales for this Request.
addMessenger(Messenger) - Method in class org.apache.commons.messenger.MessengerManager
 
addMessengerPaths(String) - Method in class org.apache.commons.messenger.MessengerDigester
 
addOutputSubject(String) - Method in class org.apache.commons.messagelet.DistributeBridgeMDO
Adds a new output subject
addProperty(String, String) - Method in class org.apache.commons.messenger.SessionFactory
 
addSubscription(Subscription) - Method in class org.apache.commons.messagelet.model.SubscriptionList
 
attributes - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The attributes associated with this Request, keyed by attribute name.
authorization - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The authorization credentials sent with this Request.
authType - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The authentication type used for this request.
available() - Method in class org.apache.commons.messagelet.impl.BufferedServletInputStream
 

B

borrowMessageConsumer(MessengerSession, Session, Destination) - Method in class org.apache.commons.messenger.MessengerSupport
 
borrowMessageConsumer(MessengerSession, Session, Destination, String) - Method in class org.apache.commons.messenger.MessengerSupport
 
borrowMessengerSession() - Method in class org.apache.commons.messenger.DefaultMessenger
 
borrowMessengerSession() - Method in class org.apache.commons.messenger.MessengerSupport
 
borrowMessengerSession() - Method in class org.apache.commons.messenger.SimpleMessenger
 
BridgeMDO - Class in org.apache.commons.messagelet
BridgeMDO is an MDO which implements a JMS bridge from one JMS destination and connection to another.
BridgeMDO() - Constructor for class org.apache.commons.messagelet.BridgeMDO
 
buffer - Variable in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
The underlying ByteArrayOutputStream that the output is written to
buffer - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
The buffer through which all of our output bytes are passed.
bufferCount - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
The number of data bytes currently in the buffer.
BufferedServletInputStream - Class in org.apache.commons.messagelet.impl
BufferedServletInputStream implements a ServletInputStream using an underlying InputStream.
BufferedServletInputStream() - Constructor for class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
BufferedServletInputStream(InputStream) - Constructor for class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
BufferedServletInputStream(String) - Constructor for class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
BufferedServletInputStream(byte[]) - Constructor for class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
BufferedServletOutputStream - Class in org.apache.commons.messagelet.impl
BufferedServletOutputStream implements a buffered ServletOutputStream in a similar way to ByteArrayOutputStream represents a buffered OutputStream.
BufferedServletOutputStream() - Constructor for class org.apache.commons.messagelet.impl.BufferedServletOutputStream
 
BufferedServletOutputStream(int) - Constructor for class org.apache.commons.messagelet.impl.BufferedServletOutputStream
 

C

call(Destination, Message) - Method in class org.apache.commons.messenger.DefaultMessenger
 
call(Destination, Message, long) - Method in class org.apache.commons.messenger.DefaultMessenger
 
call(Destination, Message) - Method in interface org.apache.commons.messenger.Messenger
Sends a message on the given destination and blocks until a response is returned
call(Destination, Message, long) - Method in interface org.apache.commons.messenger.Messenger
Sends a message on the given destination and blocks until a response is returned or the given timeout period expires
call(Destination, Message) - Method in class org.apache.commons.messenger.SimpleMessenger
 
call(Destination, Message, long) - Method in class org.apache.commons.messenger.SimpleMessenger
 
call(Destination, Reader, Writer) - Method in class org.apache.commons.messenger.tool.Caller
 
Caller - Class in org.apache.commons.messenger.tool
Caller is a sample program that sends a message to a destination and waits for a response.
Caller() - Constructor for class org.apache.commons.messenger.tool.Caller
 
cancelTransaction() - Method in class org.apache.commons.messagelet.ConsumerThread
Strategy method to represent the code required to cancel a transaction.
cancelTransaction() - Method in class org.apache.commons.messagelet.XAConsumerThread
Strategy method to represent the code required to cancel a transaction.
characterEncoding - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The character encoding for this Request.
clear() - Method in class org.apache.commons.messenger.SimpleMessenger.ThreadLocalData
 
clearCookies() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Clear the collection of Cookies associated with this Request.
clearHeaders() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Clear the collection of Headers associated with this Request.
clearReplyToDestination() - Method in class org.apache.commons.messenger.DefaultMessenger
Clears the temporary destination used to receive reply-to messages which will lazily force a new destination and consumer to be created next time a call() method is invoked.
close() - Method in class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
close() - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
 
close() - Method in class org.apache.commons.messenger.DefaultMessenger
 
close() - Method in interface org.apache.commons.messenger.Messenger
Closes the underlying JMS connection
close() - Method in class org.apache.commons.messenger.MessengerManager
 
close() - Method in class org.apache.commons.messenger.MessengerSession
Closes any sessions or producers open
close() - Method in class org.apache.commons.messenger.MessengerSupport
 
close() - Method in class org.apache.commons.messenger.SessionFactory
Closes the JMS Connection that this object is using, if any
close() - Method in class org.apache.commons.messenger.SimpleMessenger
 
commit() - Method in class org.apache.commons.messagelet.BridgeMDO
Strategy method to perform a commit() on both the incoming Messenger and the output Messenger.
commit() - Method in interface org.apache.commons.messenger.Messenger
Commits all messages done in this thread and releases any locks
commit() - Method in class org.apache.commons.messenger.MessengerSupport
 
committed - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
Has this response been committed yet?
commitTransaction() - Method in class org.apache.commons.messagelet.ConsumerThread
Strategy method to represent the code required to commit a transaction.
commitTransaction() - Method in class org.apache.commons.messagelet.XAConsumerThread
Strategy method to represent the code required to commit a transaction.
configure() - Method in class org.apache.commons.messagelet.model.SubscriptionDigester
Configure the parsing rules that will be used to process the cache config file
configure() - Method in class org.apache.commons.messenger.MessengerDigester
Configure the parsing rules that will be used to process the cache config file
configure(String) - Static method in class org.apache.commons.messenger.MessengerManager
A helper method to explicitly configure the MessengerManager singleton from a given XML deployment configuration document
consumer - Variable in class org.apache.commons.messenger.SimpleMessenger.ThreadLocalData
 
Consumer - Class in org.apache.commons.messenger.tool
Consumer is a sample program that consumes a single message and either writes it to either stanard output or a named file.
Consumer() - Constructor for class org.apache.commons.messenger.tool.Consumer
 
ConsumerTask - Class in org.apache.commons.messenger.task
ConsumerTask is an Ant task which will publish all of the given text files as a JMS Text Message using a given JMS Connection (Messenger) and a Destination
ConsumerTask() - Constructor for class org.apache.commons.messenger.task.ConsumerTask
 
ConsumerThread - Class in org.apache.commons.messagelet
ConsumerThread is a thread which will repeatedly consume JMS messages using a receive() method on Messenger and then process the message.
ConsumerThread() - Constructor for class org.apache.commons.messagelet.ConsumerThread
 
containsHeader(String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Has the specified header been set already in this response?
contentCount - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
The actual number of bytes written to this Response.
contentLength - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The content length associated with this request.
contentLength - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
The content length associated with this Response.
contentType - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The content type associated with this request.
contentType - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
The content type associated with this Response.
context - Variable in class org.apache.commons.messenger.JNDISessionFactory
the initial JNDI context used to lookup ConnectionFactory objects
contextPath - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The context path for this request.
cookies - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The set of cookies associated with this Request.
cookies - Variable in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
The set of Cookies associated with this Response.
createBrowser(Destination) - Method in interface org.apache.commons.messenger.Messenger
Creates a QueueBrowser for the given Queue
createBrowser(Destination) - Method in class org.apache.commons.messenger.MessengerSupport
Creates a browser on the given Queue
createBrowser(MessengerSession, Destination) - Method in class org.apache.commons.messenger.MessengerSupport
 
createBytesMessage() - Method in interface org.apache.commons.messenger.Messenger
 
createBytesMessage() - Method in class org.apache.commons.messenger.MessengerSupport
 
createConnection() - Method in class org.apache.commons.messenger.JNDISessionFactory
Re-implemented from SessionFactory.
createConnection() - Method in class org.apache.commons.messenger.SessionFactory
Factory method used to create a connection
createConnectionConsumer(Destination, ServerSessionPool, int) - Method in interface org.apache.commons.messenger.Messenger
Creates a ConnectionConsumer which is useful if used inside an application server to associate multiple threads with consuming from a JMS destination
createConnectionConsumer(Destination, String, ServerSessionPool, int) - Method in interface org.apache.commons.messenger.Messenger
Creates a ConnectionConsumer which is useful if used inside an application server to associate multiple threads with consuming from a JMS destination
createConnectionConsumer(Destination, ServerSessionPool, int) - Method in class org.apache.commons.messenger.MessengerSupport
 
createConnectionConsumer(Destination, String, ServerSessionPool, int) - Method in class org.apache.commons.messenger.MessengerSupport
 
createConnectionFactory() - Method in class org.apache.commons.messenger.JNDISessionFactory
Factory method used to create a connection factory.
createConnectionFactory() - Method in class org.apache.commons.messenger.SessionFactory
Factory method used to create a connection factory.
createConsumer() - Method in class org.apache.commons.messagelet.ConsumerThread
Factory method to create a new MessageConsumer
createConsumer(Destination) - Method in interface org.apache.commons.messenger.Messenger
Creates a MessageConsumer for the given JMS Desintation
createConsumer(Destination, String) - Method in interface org.apache.commons.messenger.Messenger
Creates a MessageConsumer for the given JMS Desintation and JMS selector
createConsumer(Destination) - Method in class org.apache.commons.messenger.MessengerSupport
 
createConsumer(Destination, String) - Method in class org.apache.commons.messenger.MessengerSupport
 
createContext() - Method in class org.apache.commons.messenger.JNDISessionFactory
Factory method used to create a connection factory.
createHttpServletRequest() - Method in class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
 
createInputStream() - Method in class org.apache.commons.messagelet.impl.HttpMessageletRequestImpl
 
createInputStream() - Method in class org.apache.commons.messagelet.impl.MessageletRequestImpl
 
createInputStream() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Create and return a ServletInputStream to read the content associated with this Request.
createInstance() - Static method in class org.apache.commons.messenger.MessengerManager
Factory method to create the singleton MessengerManager instance
createMapMessage() - Method in interface org.apache.commons.messenger.Messenger
 
createMapMessage() - Method in class org.apache.commons.messenger.MessengerSupport
 
createMessage() - Method in interface org.apache.commons.messenger.Messenger
 
createMessage() - Method in class org.apache.commons.messenger.MessengerSupport
 
createMessage(Reader) - Method in class org.apache.commons.messenger.tool.Producer
Creates a message from the given text file
createMessageConsumer(MessengerSession, Session, Destination) - Method in class org.apache.commons.messenger.MessengerSupport
 
createMessageConsumer(MessengerSession, Session, Destination, String) - Method in class org.apache.commons.messenger.MessengerSupport
 
createMessageProducer(MessengerSession, Destination) - Method in class org.apache.commons.messenger.MessengerSupport
 
createMessengerManager() - Method in class org.apache.commons.messagelet.Main
 
createMessengerManager() - Method in class org.apache.commons.messagelet.ManagerServlet
 
createMessengerSession() - Method in class org.apache.commons.messenger.DefaultMessenger
Factory method to create a new MessengerSession
createMessengerSession() - Method in class org.apache.commons.messenger.SimpleMessenger
Factory method to create a new MessengerSession
createObjectMessage() - Method in interface org.apache.commons.messenger.Messenger
 
createObjectMessage(Serializable) - Method in interface org.apache.commons.messenger.Messenger
 
createObjectMessage() - Method in class org.apache.commons.messenger.MessengerSupport
 
createObjectMessage(Serializable) - Method in class org.apache.commons.messenger.MessengerSupport
 
createOutputBytesMessage(BytesMessage) - Method in class org.apache.commons.messagelet.BridgeMDO
Factory method to create BytesMessage Derived classes could override this method to perform any kind of Message transformation.
createOutputMapMessage(MapMessage) - Method in class org.apache.commons.messagelet.BridgeMDO
Factory method to create MapMessage Derived classes could override this method to perform any kind of Message transformation.
createOutputMessage(Message) - Method in class org.apache.commons.messagelet.BridgeMDO
Factory method to create an output message given an input message.
createOutputObjectMessage(ObjectMessage) - Method in class org.apache.commons.messagelet.BridgeMDO
Factory method to create ObjectMessage Derived classes could override this method to perform any kind of Message transformation.
createOutputStream() - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
 
createOutputStream() - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
 
createOutputStream() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Create and return a ServletOutputStream to write the content associated with this Response.
createOutputStreamMessage(StreamMessage) - Method in class org.apache.commons.messagelet.BridgeMDO
Factory method to create StreamMessage Derived classes could override this method to perform any kind of Message transformation.
createOutputTextMessage(TextMessage) - Method in class org.apache.commons.messagelet.BridgeMDO
Factory method to create TextMessage Derived classes could override this method to perform any kind of Message transformation.
createProperties() - Method in class org.apache.commons.messenger.SessionFactory
Factory method used to create the initial JNDI context properties.
createQueueConnection(QueueConnectionFactory) - Method in class org.apache.commons.messenger.SessionFactory
 
createServerSession() - Method in class org.apache.commons.messenger.DefaultServerSessionPool
 
createServerSessionPool(MessageListener, int) - Method in class org.apache.commons.messenger.DefaultMessenger
 
createServerSessionPool(MessageListener, int) - Method in interface org.apache.commons.messenger.Messenger
Creates a new ServerSessionPool implementation with a given maximum number of threads for use by a ConnectionConsumer
createServerSessionPool(MessageListener, int) - Method in class org.apache.commons.messenger.SessionFactory
 
createServerSessionPool(MessageListener, int) - Method in class org.apache.commons.messenger.SimpleMessenger
 
createSession(Connection) - Method in class org.apache.commons.messenger.JNDISessionFactory
Re-implemented from SessionFactory.
createSession() - Method in class org.apache.commons.messenger.MessengerSession
Factory method to create a new JMS Session
createSession(Connection) - Method in class org.apache.commons.messenger.SessionFactory
Creates a new Session instance
createSession() - Method in class org.apache.commons.messenger.SessionFactory
Creates a new Session instance
createSessionFactory() - Method in class org.apache.commons.messenger.DefaultMessenger
Factory method to create a SessionFactory.
createSessionFactory() - Method in class org.apache.commons.messenger.SimpleMessenger
Factory method to create a SessionFactory.
createStreamMessage() - Method in interface org.apache.commons.messenger.Messenger
 
createStreamMessage() - Method in class org.apache.commons.messenger.MessengerSupport
 
createSubscriptionList() - Method in class org.apache.commons.messagelet.Main
 
createSubscriptionList() - Method in class org.apache.commons.messagelet.ManagerServlet
 
createTemporaryDestination() - Method in interface org.apache.commons.messenger.Messenger
Returns a new temporary destination
createTemporaryDestination() - Method in class org.apache.commons.messenger.MessengerSession
Factory method to create a new temporary destination
createTemporaryDestination() - Method in class org.apache.commons.messenger.MessengerSupport
 
createTextMessage() - Method in interface org.apache.commons.messenger.Messenger
 
createTextMessage(String) - Method in interface org.apache.commons.messenger.Messenger
 
createTextMessage() - Method in class org.apache.commons.messenger.MessengerSupport
 
createTextMessage(String) - Method in class org.apache.commons.messenger.MessengerSupport
 
createTopicConnection(TopicConnectionFactory) - Method in class org.apache.commons.messenger.SessionFactory
 
createTransactionManager() - Method in class org.apache.commons.messagelet.XAConsumerThread
Factory method to create a TransactionManager via some mechanism.

D

defaultLocale - Static variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The default Locale if none are specified.
DefaultMessenger - Class in org.apache.commons.messenger
DefaultMessenger is the default implementation of Messenger which uses a ThreadLocal variable to keep the JMS Session that should be used for a given calling thread.
DefaultMessenger() - Constructor for class org.apache.commons.messenger.DefaultMessenger
 
DefaultServerSession - Class in org.apache.commons.messenger
DefaultServerSession is a default implementation of the JMS ServerSession interface.
DefaultServerSession(Session) - Constructor for class org.apache.commons.messenger.DefaultServerSession
 
DefaultServerSessionPool - Class in org.apache.commons.messenger
DefaultServerSessionPool is a default implementation of the JMS ServerSessionPool interface.
DefaultServerSessionPool() - Constructor for class org.apache.commons.messenger.DefaultServerSessionPool
 
DefaultServerSessionPool(SessionFactory, MessageListener, int) - Constructor for class org.apache.commons.messenger.DefaultServerSessionPool
 
delist(Transaction, int) - Method in class org.apache.commons.messagelet.XAConsumerThread
Delists any resources from the current transaction.
delistResources(Transaction, int) - Method in interface org.apache.commons.messenger.XACapable
This method is called to delist any XA resources the given object has previously enlisted to this XA transaction.
delistResources(Transaction, int) - Method in class org.apache.commons.messenger.XACapableAdapter
 
delistResources(Transaction, int) - Method in class org.apache.commons.messenger.XAMessenger
 
destination - Variable in class org.apache.commons.messenger.SimpleMessenger.ThreadLocalData
 
destroy() - Method in class org.apache.commons.messagelet.ManagerServlet
 
destroy() - Method in interface org.apache.commons.messagelet.MessageDrivenObject
Called when the web application (servlet context) is being destroyed, giving the bean chance to do a graceful shutdown
destroy() - Method in class org.apache.commons.messagelet.MessageDrivenObjectSupport
 
DistributeBridgeMDO - Class in org.apache.commons.messagelet
DistributeBridgeMDO is an MDO which consumes JMS from one destination and randomly distributes them across a number of other destinations.
DistributeBridgeMDO() - Constructor for class org.apache.commons.messagelet.DistributeBridgeMDO
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.messenger.MessengerServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.messenger.MessengerServlet
 
doPut(HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.messenger.MessengerServlet
 

E

encodeCookie(Cookie) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Encode a cookie as per RFC 2109.
encodeRedirectURL(String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Encode the session identifier associated with this response into the specified redirect URL, if necessary.
encodeRedirectUrl(String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Deprecated. As of Version 2.1 of the Java Servlet API, use encodeRedirectURL() instead.
encodeURL(String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Encode the session identifier associated with this response into the specified URL, if necessary.
encodeUrl(String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Deprecated. As of Version 2.1 of the Java Servlet API, use encodeURL() instead.
encoding - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
The character encoding associated with this Response.
enlist(Transaction) - Method in class org.apache.commons.messagelet.XAConsumerThread
Enlists any resources with the current transaction.
enlistResources(Transaction) - Method in interface org.apache.commons.messenger.XACapable
This method is called to enlist any XA resources the given object has to be part of the XA transaction.
enlistResources(Transaction) - Method in class org.apache.commons.messenger.XACapableAdapter
 
enlistResources(Transaction) - Method in class org.apache.commons.messenger.XAMessenger
 
error - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
Error flag.
execute() - Method in class org.apache.commons.messenger.task.ConsumerTask
Performs the copy operation.
execute() - Method in class org.apache.commons.messenger.task.ProducerTask
Performs the copy operation.
expire() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Perform the internal processing required to invalidate this session, without triggering an exception if the session has already expired.

F

filter(String) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Filter the specified message string for characters that are sensitive in HTML.
finish() - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
Called to finish the request
finish() - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
Called to finish the request
finishRequest() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Perform whatever actions are required to flush and close the input stream or reader, in a single operation.
finishResponse() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Perform whatever actions are required to flush and close the output stream or writer, in a single operation.
fireSessionEvent(String, Object) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Notify all session event listeners that a particular event has occurred for this Session.
flush() - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
 
flushBuffer() - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
 
flushBuffer() - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Flush the buffer and commit this response.
flushBuffer() - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
 
flushBuffer() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Flush the buffer and commit this response.
format - Static variable in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
The date format we will use for creating date headers.
formats - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The set of SimpleDateFormat formats to use in getDateHeader().

G

get(String) - Static method in class org.apache.commons.messenger.MessengerManager
Uses the default configuration mechanism this method will return the Messenger for the given name.
getAcknowledgeMode() - Method in class org.apache.commons.messenger.SessionFactory
Returns the JMS acknowledge mode used by the JMS sessions created by this session
getAsyncSession() - Method in class org.apache.commons.messenger.DefaultMessenger
 
getAsyncSession() - Method in interface org.apache.commons.messenger.Messenger
Returns the underlying JMS session that this thread is using for this Messenger for asynchronous operation such as addMessageListener() operations
getAsyncSession() - Method in class org.apache.commons.messenger.SimpleMessenger
 
getAttribute(String) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return the object bound with the specified name in this session, or null if no object is bound with that name.
getAttribute(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the specified request attribute if it exists; otherwise, return null.
getAttributeNames() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return an Enumeration of String objects containing the names of the objects bound to this session.
getAttributeNames() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the names of all request attributes for this Request, or an empty Enumeration if there are none.
getAuthType() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the authentication type used for this Request.
getAuthType() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return the authentication type used to authenticate our cached Principal, if any.
getBufferSize() - Method in class org.apache.commons.messagelet.BridgeMDO
Gets the buffer size used for ByteMessage and StreamMessage copying
getBufferSize() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Return the actual buffer size used for this Response.
getCharacterEncoding() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the character encoding for this Request.
getCharacterEncoding() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Return the character encoding used for this Response.
getClientID() - Method in class org.apache.commons.messenger.SessionFactory
Returns the clientID used on the current connection.
getConnection() - Method in class org.apache.commons.messagelet.model.Subscription
Getter for property connection.
getConnection() - Method in class org.apache.commons.messenger.DefaultMessenger
 
getConnection() - Method in interface org.apache.commons.messenger.Messenger
Returns the underlying JMS connection that this Messenger is using
getConnection() - Method in class org.apache.commons.messenger.MessengerSupport
 
getConnection() - Method in class org.apache.commons.messenger.SessionFactory
Returns the JMS connection used to create new sessions
getConnection() - Method in class org.apache.commons.messenger.SimpleMessenger
 
getConnectionFactory() - Method in class org.apache.commons.messenger.SessionFactory
Returns the JMS ConnectionFactory used to create a new connection
getConnectionsConfig() - Method in class org.apache.commons.messagelet.Main
 
getConsumer() - Method in class org.apache.commons.messagelet.ConsumerThread
 
getConsumerThread() - Method in class org.apache.commons.messagelet.model.Subscription
Returns the consumerThread.
getContentCount() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Return the number of bytes actually written to the output stream.
getContentLength() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the content length for this Request.
getContentLength() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Return the content length that was set or calculated for this Response.
getContentType() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the content type for this Request.
getContentType() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Return the content type that was set or calculated for this response, or null if no content type was set.
getContext() - Method in class org.apache.commons.messenger.JNDISessionFactory
Returns the JNDI Context used to lookup JMS ConnectionFactory objects
getContextPath() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the portion of the request URI used to select the Context of the Request.
getCookies() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the set of Cookies received with this Request.
getCookies() - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Return an array of all cookies set for this response, or a zero-length array if no cookies have been set.
getCount() - Method in class org.apache.commons.messenger.task.ConsumerTask
 
getCreationTime() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return the time when this session was created, in milliseconds since midnight, January 1, 1970 GMT.
getDateHeader(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the value of the specified date header, if any; otherwise return -1.
getDeliveryMode(Destination) - Method in interface org.apache.commons.messenger.Messenger
 
getDeliveryMode(Destination) - Method in class org.apache.commons.messenger.MessengerSupport
Get the producer's default delivery mode.
getDeliveryMode() - Method in class org.apache.commons.messenger.MessengerSupport
Returns the delivery mode used on messages sent via this Messenger
getDestination() - Method in class org.apache.commons.messagelet.ConsumerThread
Returns the destination.
getDestination(String) - Method in interface org.apache.commons.messenger.Messenger
Returns the destination for the given subject name
getDestination() - Method in class org.apache.commons.messenger.MessengerServlet
Getter for property destination.
getDestination(String) - Method in class org.apache.commons.messenger.MessengerSupport
 
getDestination() - Method in class org.apache.commons.messenger.task.ConsumerTask
Getter for property destination.
getDestination() - Method in class org.apache.commons.messenger.task.ProducerTask
Getter for property destination.
getDisableMessageID(Destination) - Method in interface org.apache.commons.messenger.Messenger
 
getDisableMessageID(Destination) - Method in class org.apache.commons.messenger.MessengerSupport
Get an indication of whether message IDs are disabled.
getDisableMessageTimestamp(Destination) - Method in interface org.apache.commons.messenger.Messenger
 
getDisableMessageTimestamp(Destination) - Method in class org.apache.commons.messenger.MessengerSupport
Get an indication of whether message timestamps are disabled.
getDurableName() - Method in class org.apache.commons.messenger.MessengerSupport
 
getFile() - Method in class org.apache.commons.messenger.task.ProducerTask
Returns the single file to be sent instead of a FileSet
getGroupSize() - Method in class org.apache.commons.messenger.tool.StopWatchMessageListener
 
getHeader(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the first value of the specified header, if any; otherwise, return null
getHeader(String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Return the value for the specified header, or null if this header has not been set.
getHeaderNames() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the names of all headers received with this request.
getHeaderNames() - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Return an array of all the header names set for this response, or a zero-length array if no headers have been set.
getHeaders(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return all of the values of the specified header, if any; otherwise, return an empty enumeration.
getHeaderValues(String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Return an array of all the header values associated with the specified header name, or an zero-length array if there are no such header values.
getId() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return the session identifier for this session.
getInputStream() - Method in class org.apache.commons.messagelet.impl.HttpMessageletRequestImpl
 
getInputStream() - Method in class org.apache.commons.messagelet.impl.MessageletRequestImpl
 
getInputStream() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the servlet input stream for this Request.
getInstance() - Static method in class org.apache.commons.messenger.MessengerManager
Returns the singleton MessengerManager
getIntHeader(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the value of the specified header as an integer, or -1 if there is no such header for this request.
getLastAccessedTime() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return the last time the client sent a request associated with this session, as the number of milliseconds since midnight, January 1, 1970 GMT.
getListener() - Method in class org.apache.commons.messagelet.ConsumerThread
Returns the listener.
getListenerSession() - Method in class org.apache.commons.messenger.MessengerSession
 
getLocale() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the preferred Locale that the client will accept content in, based on the value for the first Accept-Language header that was encountered.
getLocale() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Return the Locale assigned to this response.
getLocales() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the set of preferred Locales that the client will accept content in, based on the values for any Accept-Language headers that were encountered.
getLog() - Method in class org.apache.commons.messagelet.MessageDrivenObjectSupport
Provides access to a logger which can use JDK 1.4 logging, log4j or logkit under the covers.
getLog() - Method in class org.apache.commons.messenger.tool.StopWatchMessageListener
 
getLookupName() - Method in class org.apache.commons.messenger.JNDISessionFactory
The JNDI Name of the ConnectionFactory
getMaxInactiveInterval() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return the maximum time interval, in seconds, between client requests before the servlet container will invalidate the session.
getMessage() - Method in class org.apache.commons.messagelet.impl.HttpMessageletRequestImpl
 
getMessage() - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Return the error message that was set with sendError() for this Response.
getMessage() - Method in class org.apache.commons.messagelet.impl.MessageletRequestImpl
 
getMessage() - Method in interface org.apache.commons.messagelet.MessageletRequest
 
getMessageListener() - Method in class org.apache.commons.messagelet.model.Subscription
Getter for property messageListener.
getMessageListener() - Method in class org.apache.commons.messenger.tool.StopWatchMessageListener
 
getMessageProducer(Destination) - Method in class org.apache.commons.messenger.MessengerSession
 
getMessenger() - Method in class org.apache.commons.messagelet.ConsumerThread
Returns the messenger.
getMessenger(String) - Method in class org.apache.commons.messagelet.Main
 
getMessenger() - Method in class org.apache.commons.messagelet.MessengerMDO
Provides access to the current Messenger which was used to generate the current Message.
getMessenger(String) - Method in class org.apache.commons.messagelet.SubscriptionManager
 
getMessenger() - Method in class org.apache.commons.messenger.MessengerListenerSupport
Returns the Messenger that this MessageListener is associated with making it easy to send replies or other messages using the same Messenger instance that this object is listening to.
getMessenger(String) - Method in class org.apache.commons.messenger.MessengerManager
Returns the messenger for the given name
getMessenger() - Method in class org.apache.commons.messenger.MessengerServlet
Getter for property messenger.
getMessenger() - Method in class org.apache.commons.messenger.task.ConsumerTask
 
getMessenger() - Method in class org.apache.commons.messenger.task.ProducerTask
 
getMessengerManager() - Method in class org.apache.commons.messagelet.Main
 
getMessengerManager() - Method in class org.apache.commons.messagelet.MessengerMDO
Provides access to the current MessengerManager which manages the Messenger
getMessengerManager() - Method in class org.apache.commons.messagelet.SubscriptionManager
 
getMessengerManager() - Method in class org.apache.commons.messenger.task.ConsumerTask
Getter for property messengerManager.
getMessengerManager() - Method in class org.apache.commons.messenger.task.ProducerTask
Getter for property messengerManager.
getMessengerName() - Method in class org.apache.commons.messenger.task.ConsumerTask
Getter for property messengerName.
getMessengerName() - Method in class org.apache.commons.messenger.task.ProducerTask
Getter for property messengerName.
getMessengerNames() - Method in class org.apache.commons.messenger.MessengerManager
Returns an iterator over the names of the available Messenger instances
getMessengerSession() - Method in class org.apache.commons.messenger.DefaultMessenger
 
getMethod() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the HTTP request method used in this Request.
getName() - Method in interface org.apache.commons.messenger.Messenger
Temporary hack - this method has been added so that Messenger works better with the digester
getName() - Method in class org.apache.commons.messenger.MessengerSupport
Gets the name that this Messenger is called in a MessengerManager
getNote(String) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return the object bound with the specified name to the internal notes for this session, or null if no such binding exists.
getNoteNames() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return an Iterator containing the String names of all notes bindings that exist for this session.
getOutputConnection() - Method in class org.apache.commons.messagelet.BridgeMDO
 
getOutputDestination() - Method in class org.apache.commons.messagelet.BridgeMDO
Gets the Destination output messages will be sent to
getOutputDestination() - Method in class org.apache.commons.messagelet.DistributeBridgeMDO
Randomly chooses a destination from the list of destinations
getOutputDestinations() - Method in class org.apache.commons.messagelet.DistributeBridgeMDO
 
getOutputMessenger() - Method in class org.apache.commons.messagelet.BridgeMDO
Gets the Messenger used to output messages
getOutputStream() - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
 
getOutputStream() - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
 
getOutputStream() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Return the servlet output stream associated with this Response.
getOutputSubject() - Method in class org.apache.commons.messagelet.BridgeMDO
 
getParameter(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the value of the specified request parameter, if any; otherwise, return null.
getParameterMap() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Returns a Map of the parameters of this request.
getParameterMap() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Returns a Map of the parameters of this request.
getParameterNames() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the names of all defined request parameters for this request.
getParameterValues(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the defined values for the specified request parameter, if any; otherwise, return null.
getPassword() - Method in class org.apache.commons.messenger.SessionFactory
Returns the optional password used when creating a new JMS connection via a JMS ConnectionFactory
getPath() - Method in class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
Getter for property path.
getPath() - Method in class org.apache.commons.messagelet.impl.MessageServletDispatcher
Getter for property path.
getPathInfo() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the path information associated with this Request.
getPathTranslated() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the extra path information for this request, translated to a real path.
getPrincipal() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return the authenticated Principal that is associated with this Session.
getPriority(Destination) - Method in interface org.apache.commons.messenger.Messenger
 
getPriority(Destination) - Method in class org.apache.commons.messenger.MessengerSupport
Get the producer's default priority.
getProperties() - Method in class org.apache.commons.messenger.SessionFactory
Returns the Properties that can be used to configure the connection creation
getProtocol() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the protocol and version used to make this Request.
getQueryString() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the query string associated with this request.
getQueue(QueueSession, String) - Method in class org.apache.commons.messenger.DefaultMessenger
 
getQueue(QueueSession, String) - Method in class org.apache.commons.messenger.MessengerSupport
 
getQueueRequestor(QueueSession, Queue) - Method in class org.apache.commons.messenger.MessengerSession
 
getReader() - Method in class org.apache.commons.messagelet.impl.HttpMessageletRequestImpl
 
getReader() - Method in class org.apache.commons.messagelet.impl.MessageletRequestImpl
 
getReader() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Read the Reader wrapping the input stream for this Request.
getRealPath(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Deprecated. As of version 2.1 of the Java Servlet API, use ServletContext.getRealPath().
getRemoteAddr() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the remote IP address making this Request.
getRemoteHost() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the remote host name making this Request.
getRemoteUser() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the name of the remote user that has been authenticated for this Request.
getReplyMessenger() - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
 
getReplyMessenger() - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
 
getReplyMessenger() - Method in interface org.apache.commons.messagelet.MessageletResponse
Returns the Messenger that should be used for sending replies to this incoming request
getReplyToConsumer() - Method in class org.apache.commons.messenger.DefaultMessenger
 
getReplyToConsumer() - Method in class org.apache.commons.messenger.MessengerSession
 
getReplyToDestination() - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
 
getReplyToDestination() - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
 
getReplyToDestination() - Method in interface org.apache.commons.messagelet.MessageletResponse
Returns the destination that reply to messages are sent
getReplyToDestination() - Method in class org.apache.commons.messenger.DefaultMessenger
 
getReplyToDestination() - Method in class org.apache.commons.messenger.MessengerSession
 
getRequestDispatcher(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return a RequestDispatcher that wraps the resource at the specified path, which may be interpreted as relative to the current request path.
getRequestedSessionId() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the session identifier included in this request, if any.
getRequestorsMap() - Method in class org.apache.commons.messenger.MessengerSession
 
getRequestURI() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the request URI for this request.
getRequestURL() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Reconstructs the URL the client used to make the request.
getRequiredInitParmeter(String, String) - Method in class org.apache.commons.messenger.InitMessengerServlet
 
getRequiredInitParmeter(String, String) - Method in class org.apache.commons.messenger.MessengerServlet
 
getScheme() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the scheme used to make this Request.
getSelector() - Method in class org.apache.commons.messagelet.ConsumerThread
Returns the selector.
getSelector() - Method in class org.apache.commons.messagelet.model.Subscription
Getter for property selector.
getServerName() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the server name responding to this Request.
getServerPort() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the server port responding to this Request.
getServerSession() - Method in class org.apache.commons.messenger.DefaultServerSessionPool
Return a server session from the pool.
getServlet() - Method in class org.apache.commons.messagelet.model.Subscription
Getter for property servlet.
getServletContext() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return the ServletContext to which this session belongs.
getServletContext() - Method in class org.apache.commons.messagelet.Main
 
getServletContext() - Method in class org.apache.commons.messagelet.MessageDrivenObjectSupport
 
getServletContext() - Method in class org.apache.commons.messagelet.SubscriptionManager
Returns the servletContext.
getServletPath() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the portion of the request URI used to select the servlet that will process this request.
getSession() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the session associated with this Request, creating one if necessary.
getSession(boolean) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the session associated with this Request, creating one if necessary and requested.
getSession() - Method in class org.apache.commons.messenger.DefaultMessenger
 
getSession() - Method in class org.apache.commons.messenger.DefaultServerSession
Return the ServerSession's Session.
getSession() - Method in interface org.apache.commons.messenger.Messenger
Returns the underlying JMS session that this thread is using for synchronous operations such as send() and receive() for synchronous operation
getSession() - Method in class org.apache.commons.messenger.MessengerSession
 
getSession() - Method in class org.apache.commons.messenger.SimpleMessenger
 
getSessionContext() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Deprecated. As of Version 2.1, this method is deprecated and has no replacement. It will be removed in a future version of the Java Servlet API.
getSessionFactory() - Method in class org.apache.commons.messenger.DefaultMessenger
Returns the SessionFactory used to create new JMS sessions
getSessionFactory() - Method in interface org.apache.commons.messenger.Messenger
Returns the SessionFactory used to create new JMS sessions and Connections.
getSessionFactory() - Method in class org.apache.commons.messenger.MessengerSession
 
getSessionFactory() - Method in class org.apache.commons.messenger.SimpleMessenger
Returns the SessionFactory used to create new JMS sessions
getSleep() - Method in class org.apache.commons.messenger.task.ProducerTask
Getter for property sleep, which defines the number of milliseconds to sleep for before each send.
getStatus() - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Return the HTTP status code associated with this Response.
getStatusMessage(int) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Returns a default status message for the specified HTTP status code.
getStream() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Return the input stream associated with this Request.
getStream() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Return the output stream associated with this Response.
getSubject() - Method in class org.apache.commons.messagelet.model.Subscription
Getter for property subject.
getSubject() - Method in class org.apache.commons.messenger.task.ConsumerTask
Getter for property subject.
getSubject() - Method in class org.apache.commons.messenger.task.ProducerTask
Getter for property subject.
getSubscriptionList() - Method in class org.apache.commons.messagelet.SubscriptionManager
Returns the subscriptionList.
getSubscriptionManager() - Method in class org.apache.commons.messagelet.ManagerServlet
 
getSubscriptions() - Method in class org.apache.commons.messagelet.model.SubscriptionList
 
getSubscriptionsConfig() - Method in class org.apache.commons.messagelet.Main
 
getThreadLocalData(Session) - Method in class org.apache.commons.messenger.SimpleMessenger
 
getTimeToLive(Destination) - Method in interface org.apache.commons.messenger.Messenger
 
getTimeToLive(Destination) - Method in class org.apache.commons.messenger.MessengerSupport
Get the producer's default delivery mode.
getTopic(TopicSession, String) - Method in class org.apache.commons.messenger.DefaultMessenger
 
getTopic(TopicSession, String) - Method in class org.apache.commons.messenger.MessengerSupport
 
getTopicRequestor(TopicSession, Topic) - Method in class org.apache.commons.messenger.MessengerSession
 
getTransactionManager() - Method in class org.apache.commons.messagelet.XAConsumerThread
 
getURLResource(String, String) - Method in class org.apache.commons.messagelet.ManagerServlet
 
getUsername() - Method in class org.apache.commons.messenger.SessionFactory
Returns the optional username used when creating a new JMS connection via a JMS ConnectionFactory
getUserPrincipal() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return the principal that has been authenticated for this Request.
getValue(String) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Deprecated. As of Version 2.2, this method is replaced by getAttribute()
getValueNames() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Deprecated. As of Version 2.2, this method is replaced by getAttributeNames()
getWriter() - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
 
getWriter() - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
 
getWriter() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Return the writer associated with this Response.
getXACapable(Messenger) - Method in class org.apache.commons.messagelet.XAConsumerThread
 
getXAResource() - Method in class org.apache.commons.messenger.XACapableAdapter
 
getXAResource() - Method in class org.apache.commons.messenger.XAMessenger
 

H

handleException(Message, Throwable) - Method in class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
 
handleException(Message, Throwable) - Method in class org.apache.commons.messagelet.impl.MessageServletDispatcher
 
handleJMSException(String, JMSException) - Method in class org.apache.commons.messagelet.ManagerServlet
Allows derived servlets to handle JMS exceptions differently, such as ignoring certain kinds of exceptions or performing custom logging etc.
hasLock() - Method in class org.apache.commons.messenger.Lock
 
headers - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The HTTP headers associated with this Request, keyed by name.
headers - Variable in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
The HTTP headers explicitly added via addHeader(), but not including those to be added with setContentLength(), setContentType(), and so on.
HttpMessageletRequestImpl - Class in org.apache.commons.messagelet.impl
HttpMessageletRequestImpl represents a servlet request from a JMS Message source which appears to be a HTTP request so that JSP can process the request as if it were a HTTP request.
HttpMessageletRequestImpl(HttpServletRequest) - Constructor for class org.apache.commons.messagelet.impl.HttpMessageletRequestImpl
 
HttpMessageletResponseImpl - Class in org.apache.commons.messagelet.impl
HttpMessageletResponseImpl represents a servlet request from a JMS Message source which appears like a HTTP request.
HttpMessageletResponseImpl(HttpServletResponse) - Constructor for class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
 
HttpServletRequestImpl - Class in org.apache.commons.messagelet.impl
Based on the HttpRequestBase code from Catalina.
HttpServletRequestImpl(ServletContext) - Constructor for class org.apache.commons.messagelet.impl.HttpServletRequestImpl
 
HttpServletResponseImpl - Class in org.apache.commons.messagelet.impl
Based on the HttpRequestBase code from Catalina.
HttpServletResponseImpl() - Constructor for class org.apache.commons.messagelet.impl.HttpServletResponseImpl
 
HttpSessionImpl - Class in org.apache.commons.messagelet.impl
Based on the Catalina StandardSession class.
HttpSessionImpl(ServletContext) - Constructor for class org.apache.commons.messagelet.impl.HttpSessionImpl
 

I

included - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
Are we currently processing inside a RequestDispatcher.include()?
init() - Method in class org.apache.commons.messagelet.BridgeMDO
 
init() - Method in class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
 
init() - Method in class org.apache.commons.messagelet.impl.MessageServletDispatcher
 
init() - Method in class org.apache.commons.messagelet.ManagerServlet
 
init(ServletContext) - Method in interface org.apache.commons.messagelet.MessageDrivenObject
Called when this message listener bean is initialized by the Serlvet container.
init() - Method in class org.apache.commons.messagelet.MessageDrivenObjectSupport
This method allows the init() method to be overriden without having to call the super.init( ServletContext ) method first.
init(ServletContext) - Method in class org.apache.commons.messagelet.MessageDrivenObjectSupport
 
init() - Method in class org.apache.commons.messenger.InitMessengerServlet
 
init() - Method in class org.apache.commons.messenger.MessengerServlet
 
InitMessengerServlet - Class in org.apache.commons.messenger
InitMessengerServlet is a simple servlet that will initialize the MessengerManager from a URL specified in the web.xml deployment descriptor.
InitMessengerServlet() - Constructor for class org.apache.commons.messenger.InitMessengerServlet
 
input - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The input stream associated with this Request.
invalidate() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Invalidates this session and unbinds any objects bound to it.
isCacheProducers() - Method in class org.apache.commons.messenger.MessengerSupport
Gets whether MessageProducer instances should be cached or not, which defaults to true
isCacheRequestors() - Method in class org.apache.commons.messenger.MessengerSupport
Gets whether we should cache the requestor object per thread?
isCommitted() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Has the output of this response already been committed?
isContinueOnSubscriptionException() - Method in class org.apache.commons.messagelet.ManagerServlet
 
isDurable() - Method in class org.apache.commons.messenger.MessengerSupport
Gets whether topic subscribers are durable or not
isJndiDestinations() - Method in class org.apache.commons.messenger.MessengerSupport
Getter for jndiDestinations
isNew() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return true if the client does not yet know about the session, or if the client chooses not to join the session.
isNoLocal() - Method in class org.apache.commons.messenger.MessengerSupport
Gets whether local messages are ignored when topic based subscription is used with a message selector
isRequestedSessionIdFromCookie() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return true if the session identifier included in this request came from a cookie.
isRequestedSessionIdFromURL() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return true if the session identifier included in this request came from the request URI.
isRequestedSessionIdFromUrl() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Deprecated. As of Version 2.1 of the Java Servlet API, use isRequestedSessionIdFromURL() instead.
isRequestedSessionIdValid() - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return true if the session identifier included in this request identifies a valid session.
isSecure() - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Was this request received on a secure connection?
isShouldStop() - Method in class org.apache.commons.messagelet.ConsumerThread
Returns the shouldStop.
isTopic(Connection) - Method in class org.apache.commons.messenger.DefaultMessenger
 
isTopic(ConnectionFactory) - Method in class org.apache.commons.messenger.DefaultMessenger
 
isTopic() - Method in class org.apache.commons.messenger.MessengerSession
 
isTopic(Connection) - Method in class org.apache.commons.messenger.MessengerSupport
 
isTopic(ConnectionFactory) - Method in class org.apache.commons.messenger.MessengerSupport
 
isTopic() - Method in class org.apache.commons.messenger.SessionFactory
 
isTopic(Connection) - Method in class org.apache.commons.messenger.SimpleMessenger
 
isTopic(ConnectionFactory) - Method in class org.apache.commons.messenger.SimpleMessenger
 
isTransacted() - Method in class org.apache.commons.messagelet.BridgeMDO
 
isTransacted() - Method in class org.apache.commons.messenger.SessionFactory
Returns true if sessions created by this factory should be transacted
isUserInRole(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Return true if the authenticated user principal possesses the specified role name.
isValid() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return the isValid flag for this session.

J

JNDISessionFactory - Class in org.apache.commons.messenger
JNDISessionFactory is a Factory of JMS Session objects which looks up the ConnectionFactory object from JNDI.
JNDISessionFactory() - Constructor for class org.apache.commons.messenger.JNDISessionFactory
 

L

load(String) - Static method in class org.apache.commons.messenger.MessengerManager
A helper method to load a MessengerManager from a given XML deployment configuration document
locale - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
The Locale associated with this Response.
locales - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The preferred Locales assocaited with this Request.
Lock - Class in org.apache.commons.messenger
Lock is a simple lock.
Lock() - Constructor for class org.apache.commons.messenger.Lock
 
log(String) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Log a message to the current ServletContext
log(String, Throwable) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Log a message to the current ServletContext
log(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Log a message to the current ServletContext
log(String, Throwable) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Log a message to the current ServletContext
log(String) - Method in class org.apache.commons.messagelet.MessageDrivenObjectSupport
Logs a message to the current ServletContext
log(String, Throwable) - Method in class org.apache.commons.messagelet.MessageDrivenObjectSupport
Logs a message and exception the current ServletContext

M

Main - Class in org.apache.commons.messagelet
Main is a simple command line program that will create a number of subscriptions and consume messages using just regular MDO and MessageListener classes.
Main() - Constructor for class org.apache.commons.messagelet.Main
 
main(String[]) - Static method in class org.apache.commons.messagelet.Main
 
main(String[]) - Static method in class org.apache.commons.messenger.tool.Caller
 
main(String[]) - Static method in class org.apache.commons.messenger.tool.Consumer
 
main(String[]) - Static method in class org.apache.commons.messenger.tool.Producer
 
ManagerServlet - Class in org.apache.commons.messagelet
ManagerServlet manages the initialisation and destruction of the Messenger connections and use of MessageListener beans for a given ServletContext.
ManagerServlet() - Constructor for class org.apache.commons.messagelet.ManagerServlet
 
mark(int) - Method in class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
markSupported() - Method in class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
message - Variable in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
The error message set by sendError().
MessageDrivenObject - Interface in org.apache.commons.messagelet
MessageDrivenObject is a message driven bean which is deployed in a Servlet engine as its application server.
MessageDrivenObjectSupport - Class in org.apache.commons.messagelet
MessageDrivenObjectSupport is an abstract base class for implementing your own MessageDrivenObject instance with some useful implementation level methods.
MessageDrivenObjectSupport() - Constructor for class org.apache.commons.messagelet.MessageDrivenObjectSupport
 
MessageHttpServletDispatcher - Class in org.apache.commons.messagelet.impl
MessageHttpServletDispatcher dispatches JMS Messages into a HttpServlet for procesing.
MessageHttpServletDispatcher() - Constructor for class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
 
MessageHttpServletDispatcher(String) - Constructor for class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
 
Messagelet - Class in org.apache.commons.messagelet
Messengerlet the base class for a servlet which processes JMS messages via a MessageletRequest and MessageletResponse.
Messagelet() - Constructor for class org.apache.commons.messagelet.Messagelet
 
MessageletRequest - Interface in org.apache.commons.messagelet
MessageletRequest represents a servlet request that resulted from a JMS Message being received.
MessageletRequestImpl - Class in org.apache.commons.messagelet.impl
MessageletRequestImpl represents a servlet request from a JMS Message source.
MessageletRequestImpl(ServletRequest) - Constructor for class org.apache.commons.messagelet.impl.MessageletRequestImpl
 
MessageletResponse - Interface in org.apache.commons.messagelet
MessageletResponse represents a servlet response from a JMS Message.
MessageletResponseImpl - Class in org.apache.commons.messagelet.impl
MessageletResponseImpl represents a servlet request from a JMS Message source.
MessageletResponseImpl(ServletResponse) - Constructor for class org.apache.commons.messagelet.impl.MessageletResponseImpl
 
MessageServletDispatcher - Class in org.apache.commons.messagelet.impl
MessageDispatcher dispatches JMS Messages into a Servlet engine for procesing.
MessageServletDispatcher() - Constructor for class org.apache.commons.messagelet.impl.MessageServletDispatcher
 
MessageServletDispatcher(String) - Constructor for class org.apache.commons.messagelet.impl.MessageServletDispatcher
 
Messenger - Interface in org.apache.commons.messenger
Messenger a facade over the JMS API making it easy to use JMS and hiding much of the complexity of threading and configuration.
messenger - Variable in class org.apache.commons.messenger.tool.Producer
 
MessengerDigester - Class in org.apache.commons.messenger
MessengerDigester is a digester of Messenger objects so that JMS Messengers can be created from an XML config file.
MessengerDigester() - Constructor for class org.apache.commons.messenger.MessengerDigester
 
MessengerListener - Interface in org.apache.commons.messenger
MessengerListener is a JMS MessageListener which is associated with a Messenger instance so that it can send replies or send other messages using the same JMS connection to which its listening.
MessengerListenerSupport - Class in org.apache.commons.messenger
MessengerListenerSupport is an abstract base class for a MessengerListener objects which is useful for implementation inheritence.
MessengerListenerSupport() - Constructor for class org.apache.commons.messenger.MessengerListenerSupport
 
MessengerManager - Class in org.apache.commons.messenger
MessengerManager is a manager of Messenger instances.
MessengerManager() - Constructor for class org.apache.commons.messenger.MessengerManager
 
MessengerMDO - Class in org.apache.commons.messagelet
MessengerMDO is an abstract base class for Messenger based MDO implementations.
MessengerMDO() - Constructor for class org.apache.commons.messagelet.MessengerMDO
 
MessengerServlet - Class in org.apache.commons.messenger
MessengerServlet is a simple servlet that dispatches the current HTTP GET to a JMS connection to a receiveNoWait() call or a HTTP POST to send() message.
MessengerServlet() - Constructor for class org.apache.commons.messenger.MessengerServlet
 
MessengerSession - Class in org.apache.commons.messenger
MessengerSession represents all the local information for a single thread.
MessengerSession(MessengerSupport, SessionFactory) - Constructor for class org.apache.commons.messenger.MessengerSession
 
MessengerSupport - Class in org.apache.commons.messenger
MessengerSupport is an abstract base class which implements most of the functionality of Messenger.
MessengerSupport() - Constructor for class org.apache.commons.messenger.MessengerSupport
 
method - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The request method associated with this Request.

N

NO_DATA - Static variable in class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
normalize(String) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Normalize a relative URI path that may have relative values ("/./", "/../", and so on ) it it.

O

onMessage(Message) - Method in class org.apache.commons.messagelet.BridgeMDO
 
onMessage(Message) - Method in class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
Process the incoming JMS Message.
onMessage(Message) - Method in class org.apache.commons.messagelet.impl.MessageServletDispatcher
Process the incoming JMS Message.
onMessage(Message) - Method in class org.apache.commons.messenger.tool.StopWatchMessageListener
 
org.apache.commons.messagelet - package org.apache.commons.messagelet
This package provides the mechansim to deploy MessageListener beans in a servlet application server which are intialized and destroyed with a web-application as well as introducing MessageDrivenObjects which are MessageListeners which receive servlet-style lifecycle events and Messagelets which are servlets that process Messages.
org.apache.commons.messagelet.impl - package org.apache.commons.messagelet.impl
This package contains implementation classes to support both MDO's as well as to be able to dispatch into a Servlet engine to be able to process Messagelets.
org.apache.commons.messagelet.model - package org.apache.commons.messagelet.model
This package represents the subscription model of a Messagelet engine.
org.apache.commons.messenger - package org.apache.commons.messenger
The main Messenger interface, a simple facade for working with JMS, together with all the default implementation classes and additional factory classes.
org.apache.commons.messenger.task - package org.apache.commons.messenger.task
A collection of Ant tasks for working with JMS.
org.apache.commons.messenger.tool - package org.apache.commons.messenger.tool
A collection of tools for working with Messenger.
output - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
The output stream associated with this Response.

P

parseCharacterEncoding(String) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Parse the character encoding from the specified content type header.
parseCookieHeader(String) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Parse a cookie header into an array of cookies according to RFC 2109.
parseParameters(Map, String, String) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Append request parameters from the specified String to the specified Map.
parseParameters(Map, byte[], String) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Append request parameters from the specified String to the specified Map.
passivate() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Perform the internal processing required to passivate this session.
pathInfo - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The path information for this request.
processMessage(Message) - Method in class org.apache.commons.messagelet.ConsumerThread
Strategy method to process a given message.
processMessage(Message) - Method in class org.apache.commons.messenger.task.ConsumerTask
Processes a given message
processMessageHeaders(Message, Message) - Method in class org.apache.commons.messagelet.BridgeMDO
Strategy method to add any headers required on the output message.
processMessageText(String) - Method in class org.apache.commons.messenger.task.ConsumerTask
Writes the given text to a file
Producer - Class in org.apache.commons.messenger.tool
Producer is a sample program that creates messages and sends them to a given destination which could either be a queue or a topc.
Producer() - Constructor for class org.apache.commons.messenger.tool.Producer
 
ProducerTask - Class in org.apache.commons.messenger.task
ProducerTask is an Ant task which will publish all of the given text files as a JMS Text Message using a given JMS Connection (Messenger) and a Destination
ProducerTask() - Constructor for class org.apache.commons.messenger.task.ProducerTask
 
properties - Variable in class org.apache.commons.messenger.SessionFactory
the properties used to create the connection
protocol - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The protocol name and version associated with this Request.
putServerSession(ServerSession) - Method in class org.apache.commons.messenger.DefaultServerSessionPool
 
putValue(String, Object) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Deprecated. As of Version 2.2, this method is replaced by setAttribute()

Q

queryString - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The query string for this request.

R

read(byte[]) - Method in class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
read(byte[], int, int) - Method in class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
read() - Method in class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
reader - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The reader that has been returned by getReader, if any.
readMessage(HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.messenger.MessengerServlet
Derived classes may wish to change how a JMS Message is read from an incoming request, e.g.
readText(Reader) - Method in class org.apache.commons.messenger.task.ProducerTask
Reads the given text stream into a single string
readText(Reader) - Method in class org.apache.commons.messenger.tool.Producer
Reads the given text stream into a single string
receive(Destination) - Method in interface org.apache.commons.messenger.Messenger
Receives a message on the given destination, blocking until one is returned
receive(Destination, String) - Method in interface org.apache.commons.messenger.Messenger
Receives a message on the given destination and message selector, blocking until one is returned
receive(Destination, long) - Method in interface org.apache.commons.messenger.Messenger
Receives a message on the given destination, blocking for the specified timeout
receive(Destination, String, long) - Method in interface org.apache.commons.messenger.Messenger
Receives a message on the given destination and selector, blocking for the specified timeout
receive(Destination) - Method in class org.apache.commons.messenger.MessengerSupport
 
receive(Destination, String) - Method in class org.apache.commons.messenger.MessengerSupport
 
receive(Destination, long) - Method in class org.apache.commons.messenger.MessengerSupport
 
receive(Destination, String, long) - Method in class org.apache.commons.messenger.MessengerSupport
 
receiveNoWait(Destination) - Method in interface org.apache.commons.messenger.Messenger
Receives a message on the given destination without blocking or returns null
receiveNoWait(Destination, String) - Method in interface org.apache.commons.messenger.Messenger
Receives a message on the given destination and selector without blocking or returns null
receiveNoWait(Destination) - Method in class org.apache.commons.messenger.MessengerSupport
 
receiveNoWait(Destination, String) - Method in class org.apache.commons.messenger.MessengerSupport
 
recycle() - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Release all object references, and initialize instance variables, in preparation for reuse of this object.
recycle() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Release all object references, and initialize instance variables, in preparation for reuse of this object.
release() - Method in class org.apache.commons.messenger.Lock
Release the lock.
remoteAddr - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The remote address associated with this request.
remoteHost - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The fully qualified name of the remote host.
removeAttribute(String) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Remove the object bound with the specified name from this session.
removeAttribute(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Remove the specified request attribute if it exists.
removeListener(Destination, MessageListener) - Method in interface org.apache.commons.messenger.Messenger
 
removeListener(Destination, String, MessageListener) - Method in interface org.apache.commons.messenger.Messenger
 
removeListener(Destination, MessageListener) - Method in class org.apache.commons.messenger.MessengerSupport
 
removeListener(Destination, String, MessageListener) - Method in class org.apache.commons.messenger.MessengerSupport
 
removeMessenger(Messenger) - Method in class org.apache.commons.messenger.MessengerManager
 
removeNote(String) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Remove any object bound to the specified name in the internal notes for this session.
removeSubscription(Subscription) - Method in class org.apache.commons.messagelet.model.SubscriptionList
 
removeValue(String) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Deprecated. As of Version 2.2, this method is replaced by removeAttribute()
requestedSessionCookie - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Was the requested session ID received in a cookie?
requestedSessionId - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The requested session ID (if any) for this request.
requestedSessionURL - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Was the requested session ID received in a URL?
requestURI - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The request URI associated with this request.
RequestUtil - Class in org.apache.commons.messagelet.impl
General purpose request parsing and encoding utility methods.
RequestUtil() - Constructor for class org.apache.commons.messagelet.impl.RequestUtil
 
reset() - Method in class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
reset() - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
Resets the count field of this buffer to zero, so that all currently accumulated output in the ouput stream is discarded.
reset() - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
Resets the response, ready for a new request
reset(int, String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Reset this response, and specify the values for the HTTP status code and corresponding message.
reset() - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Clear any content written to the buffer.
reset() - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
Resets the response, ready for a new request
reset() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Clear any content written to the buffer.
resetBuffer() - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Reset the data buffer but not any status or header information.
returnMessageConsumer(MessageConsumer) - Method in class org.apache.commons.messenger.MessengerSupport
Returns a message consumer back to the pool.
returnMessengerSession(MessengerSession) - Method in class org.apache.commons.messenger.DefaultMessenger
 
returnMessengerSession(MessengerSession) - Method in class org.apache.commons.messenger.MessengerSupport
 
returnMessengerSession(MessengerSession) - Method in class org.apache.commons.messenger.SimpleMessenger
 
rollback() - Method in class org.apache.commons.messagelet.BridgeMDO
Strategy method to perform a rollback() on both the incoming Messenger and the output Messenger.
rollback() - Method in interface org.apache.commons.messenger.Messenger
Rolls back any messages done in this thread and releases any locks
rollback() - Method in class org.apache.commons.messenger.MessengerSupport
 
rollbackTransaction(Exception) - Method in class org.apache.commons.messagelet.ConsumerThread
Strategy method to represent the code required to rollback a transaction.
rollbackTransaction() - Method in class org.apache.commons.messagelet.XAConsumerThread
Strategy method to represent the code required to rollback a transaction.
run() - Method in class org.apache.commons.messagelet.ConsumerThread
Starts all the JMS connections and consumes JMS messages, passing them onto the MessageListener and Message Driven Objects
run() - Method in class org.apache.commons.messagelet.Main
Starts all the JMS connections and consumes JMS messages, passing them onto the MessageListener and Message Driven Objects
run() - Method in class org.apache.commons.messenger.DefaultServerSession
 
run() - Method in interface org.apache.commons.messenger.Messenger
Allows this current thread to be given to the JMS connection to process messages.
run() - Method in class org.apache.commons.messenger.MessengerSupport
 
run(String[]) - Method in class org.apache.commons.messenger.tool.Caller
 
run(String[]) - Method in class org.apache.commons.messenger.tool.Consumer
 
run(String[]) - Method in class org.apache.commons.messenger.tool.Producer
 

S

scheme - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The scheme associated with this Request.
secure - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
Was this request received on a secure connection?
send(Destination, Message) - Method in interface org.apache.commons.messenger.Messenger
Sends a message on the given destination
send(Destination, Message) - Method in class org.apache.commons.messenger.MessengerSupport
 
send(Destination, Message, int, int, long) - Method in class org.apache.commons.messenger.MessengerSupport
Extends the send capability to send by specifying additional options.
sendError(int) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Send an error response with the specified status and a default message.
sendError(int, String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Send an error response with the specified status and message.
sendFile(File, Messenger, Destination) - Method in class org.apache.commons.messenger.task.ProducerTask
Sends the contents of the given file to the given Destination using the given Messenger instance
sendRedirect(String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Send a temporary redirect to the specified redirect location URL.
sendReply(Message) - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
Sends a reply to the original message
sendReply(Message) - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
Sends a reply to the original message
sendReply(Message) - Method in interface org.apache.commons.messagelet.MessageletResponse
Sends a reply to the original message
serverName - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The server name associated with this Request.
serverPort - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The server port associated with this Request.
service(ServletRequest, ServletResponse) - Method in class org.apache.commons.messagelet.ManagerServlet
 
service(MessageletRequest, MessageletResponse) - Method in class org.apache.commons.messagelet.Messagelet
 
service(ServletRequest, ServletResponse) - Method in class org.apache.commons.messagelet.Messagelet
 
servletContext - Variable in class org.apache.commons.messagelet.impl.HttpSessionImpl
The ServletContext
servletContext - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The ServletContext which is used to dispatch further requests
servletPath - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The servlet path for this request.
ServletRequestImpl - Class in org.apache.commons.messagelet.impl
Based on the RequestBase code from Catalina.
ServletRequestImpl(ServletContext) - Constructor for class org.apache.commons.messagelet.impl.ServletRequestImpl
 
ServletResponseImpl - Class in org.apache.commons.messagelet.impl
Based on the ResponseBase code from Catalina.
ServletResponseImpl() - Constructor for class org.apache.commons.messagelet.impl.ServletResponseImpl
 
session - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The currently active session for this request.
SessionFactory - Class in org.apache.commons.messenger
SessionFactory is a Factory of JMS Session objects.
SessionFactory() - Constructor for class org.apache.commons.messenger.SessionFactory
 
setAcknowledge(String) - Method in class org.apache.commons.messenger.SessionFactory
A String based setter method to allow this property to be defined easily from within the digester XML file.
setAcknowledgeMode(int) - Method in class org.apache.commons.messenger.SessionFactory
 
setAttribute(String, Object) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Bind an object to this session, using the specified name.
setAttribute(String, Object) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the specified request attribute to the specified value.
setAuthType(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set the authentication type used for this request, if any; otherwise set the type to null.
setAuthType(String) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Set the authentication type used to authenticate our cached Principal, if any.
setBufferSize(int) - Method in class org.apache.commons.messagelet.BridgeMDO
Sets the buffer size used for ByteMessage and StreamMessage copying
setBufferSize(int) - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Set the buffer size to be used for this Response.
setCacheProducers(boolean) - Method in class org.apache.commons.messenger.MessengerSupport
Sets whether MessageProducer instances should be cached or not, which defaults to true
setCacheRequestors(boolean) - Method in class org.apache.commons.messenger.MessengerSupport
Sets whether we should cache the requestor object per thread?
setCharacterEncoding(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Overrides the name of the character encoding used in the body of this request.
setClientID(String) - Method in class org.apache.commons.messenger.SessionFactory
Sets the clientID used on the current connection.
setConfiguration(String) - Method in class org.apache.commons.messenger.task.ConsumerTask
Sets the URI of the Messenger.xml configuration document to use to configure the messengers to use for this task.
setConfiguration(String) - Method in class org.apache.commons.messenger.task.ProducerTask
Sets the URI of the Messenger.xml configuration document to use to configure the messengers to use for this task.
setConnection(String) - Method in class org.apache.commons.messagelet.model.Subscription
Setter for property connection.
setConnection(Connection) - Method in class org.apache.commons.messenger.SessionFactory
 
setConnectionFactory(ConnectionFactory) - Method in class org.apache.commons.messenger.SessionFactory
 
setConnectionsConfig(String) - Method in class org.apache.commons.messagelet.Main
 
setConsumerThread(ConsumerThread) - Method in class org.apache.commons.messagelet.model.Subscription
Sets the consumerThread.
setContentLength(int) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Set the content length (in bytes) for this Response.
setContentLength(int) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the content length associated with this Request.
setContentLength(int) - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Set the content length (in bytes) for this Response.
setContentType(String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Set the content type for this Response.
setContentType(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the content type (and optionally the character encoding) associated with this Request.
setContentType(String) - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Set the content type for this Response.
setContext(Context) - Method in class org.apache.commons.messenger.JNDISessionFactory
 
setContextPath(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set the context path for this Request.
setContinueOnSubscribeException(boolean) - Method in class org.apache.commons.messagelet.ManagerServlet
Sets whether exceptions occurring during subscriptions on startup should terminate the initialization
setCount(int) - Method in class org.apache.commons.messenger.task.ConsumerTask
Setter for the number of messages to receive.
setCreationTime(long) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Set the creation time for this session.
setDateHeader(String, long) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Set the specified date header to the specified value.
setDeliveryMode(Destination, int) - Method in interface org.apache.commons.messenger.Messenger
 
setDeliveryMode(Destination, int) - Method in class org.apache.commons.messenger.MessengerSupport
Set the producer's default delivery mode.
setDeliveryMode(int) - Method in class org.apache.commons.messenger.MessengerSupport
Sets the delivery mode used on messages sent via this Messenger
setDestination(Destination) - Method in class org.apache.commons.messagelet.ConsumerThread
Sets the destination.
setDestination(Destination) - Method in class org.apache.commons.messenger.MessengerServlet
Setter for property destination.
setDestination(Destination) - Method in class org.apache.commons.messenger.task.ConsumerTask
Setter for property destination.
setDestination(Destination) - Method in class org.apache.commons.messenger.task.ProducerTask
Setter for property destination.
setDir(File) - Method in class org.apache.commons.messenger.task.ConsumerTask
Sets the output directory
setDisableMessageID(Destination, boolean) - Method in interface org.apache.commons.messenger.Messenger
 
setDisableMessageID(Destination, boolean) - Method in class org.apache.commons.messenger.MessengerSupport
Set whether message IDs are disabled.
setDisableMessageTimestamp(Destination, boolean) - Method in interface org.apache.commons.messenger.Messenger
 
setDisableMessageTimestamp(Destination, boolean) - Method in class org.apache.commons.messenger.MessengerSupport
Set whether message timestamps are disabled.
setDurable(boolean) - Method in class org.apache.commons.messenger.MessengerSupport
Sets whether topic subscribers are durable or not
setDurableName(String) - Method in class org.apache.commons.messenger.MessengerSupport
Sets the durable name used for durable topic based subscriptions
setFile(File) - Method in class org.apache.commons.messenger.task.ProducerTask
Allows a single file to be sent via the Ant Task
setGroupSize(int) - Method in class org.apache.commons.messenger.tool.StopWatchMessageListener
Sets the number of messages in the group before the performance statistics are logged
setHeader(String, String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Set the specified header to the specified value.
setId(String) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Set the session identifier for this session.
setInstance(MessengerManager) - Static method in class org.apache.commons.messenger.MessengerManager
Installs a new singleton MessengerManager instance
setIntHeader(String, int) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Set the specified integer header to the specified value.
setJndiDestinations(boolean) - Method in class org.apache.commons.messenger.MessengerSupport
Setter for jndiDestinations
setListener(MessageListener) - Method in class org.apache.commons.messagelet.ConsumerThread
Sets the listener.
setLocale(Locale) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Set the Locale that is appropriate for this response, including setting the appropriate character encoding.
setLocale(Locale) - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Set the Locale that is appropriate for this response, including setting the appropriate character encoding.
setLog(Log) - Method in class org.apache.commons.messenger.tool.StopWatchMessageListener
Sets the logger to which statistic messages will be sent
setLookupName(String) - Method in class org.apache.commons.messenger.JNDISessionFactory
Sets the JNDI Name of the ConnectionFactory
setMaxInactiveInterval(int) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Set the maximum time interval, in seconds, between client requests before the servlet container will invalidate the session.
setMessage(Message) - Method in class org.apache.commons.messagelet.impl.HttpMessageletRequestImpl
 
setMessage(Message) - Method in class org.apache.commons.messagelet.impl.MessageletRequestImpl
 
setMessageListener(MessageListener) - Method in class org.apache.commons.messagelet.model.Subscription
Setter for property messageListener.
setMessageListener(MessageListener) - Method in class org.apache.commons.messenger.tool.StopWatchMessageListener
Sets the MessageListener which this listener delegates to, which can be null.
setMessenger(Messenger) - Method in class org.apache.commons.messagelet.ConsumerThread
Sets the messenger.
setMessenger(Messenger) - Method in class org.apache.commons.messagelet.impl.HttpMessageletRequestImpl
 
setMessenger(Messenger) - Method in class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
 
setMessenger(Messenger) - Method in class org.apache.commons.messagelet.impl.MessageletRequestImpl
 
setMessenger(Messenger) - Method in class org.apache.commons.messagelet.impl.MessageServletDispatcher
 
setMessenger(Messenger) - Method in class org.apache.commons.messagelet.MessengerMDO
 
setMessenger(Messenger) - Method in interface org.apache.commons.messenger.MessengerListener
Called whenever this MessageListener is added to a Messenger via the addListener() method to associate this MessageListener with a Messenger instance..
setMessenger(Messenger) - Method in class org.apache.commons.messenger.MessengerListenerSupport
Called whenever this MessageListener is added to a Messenger via the addListener() method to associate this MessageListener with a Messenger instance..
setMessenger(Messenger) - Method in class org.apache.commons.messenger.MessengerServlet
Setter for property messenger.
setMessenger(Messenger) - Method in class org.apache.commons.messenger.task.ConsumerTask
Sets the Messenger to be used
setMessenger(Messenger) - Method in class org.apache.commons.messenger.task.ProducerTask
Sets the Messenger to be used
setMessengerManager(MessengerManager) - Method in class org.apache.commons.messagelet.Main
 
setMessengerManager(MessengerManager) - Method in class org.apache.commons.messagelet.MessengerMDO
 
setMessengerManager(MessengerManager) - Method in class org.apache.commons.messagelet.SubscriptionManager
 
setMessengerManager(MessengerManager) - Method in class org.apache.commons.messenger.task.ConsumerTask
Setter for property messengerManager.
setMessengerManager(MessengerManager) - Method in class org.apache.commons.messenger.task.ProducerTask
Setter for property messengerManager.
setMessengerName(String) - Method in class org.apache.commons.messenger.task.ConsumerTask
Setter for property messengerName.
setMessengerName(String) - Method in class org.apache.commons.messenger.task.ProducerTask
Setter for property messengerName.
setMethod(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set the HTTP request method used for this Request.
setName(String) - Method in class org.apache.commons.messenger.MessengerSupport
Sets the name that this Messenger is called in a MessengerManager
setNew(boolean) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Set the isNew flag for this session.
setNoLocal(boolean) - Method in class org.apache.commons.messenger.MessengerSupport
Sets whether local messages are ignored when topic based subscription is used with a message selector
setNote(String, Object) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Bind an object to a specified name in the internal notes associated with this session, replacing any existing binding for this name.
setOutputConnection(String) - Method in class org.apache.commons.messagelet.BridgeMDO
Sets the connection name (messenger instance) to use to output messages
setOutputDestination(Destination) - Method in class org.apache.commons.messagelet.BridgeMDO
Sets the Destination output messages will be sent to
setOutputMessenger(Messenger) - Method in class org.apache.commons.messagelet.BridgeMDO
Sets the Messenger used to output messages
setOutputSubject(String) - Method in class org.apache.commons.messagelet.BridgeMDO
Sets the subject (i.e.
setPassword(String) - Method in class org.apache.commons.messenger.SessionFactory
 
setPath(String) - Method in class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
Setter for property path.
setPath(String) - Method in class org.apache.commons.messagelet.impl.MessageServletDispatcher
Setter for property path.
setPathInfo(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set the path information for this Request.
setPersistentDelivery(boolean) - Method in class org.apache.commons.messenger.MessengerSupport
Sets whether message delivery should be persistent or not
setPrincipal(Principal) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Set the authenticated Principal that is associated with this Session.
setPriority(Destination, int) - Method in interface org.apache.commons.messenger.Messenger
 
setPriority(Destination, int) - Method in class org.apache.commons.messenger.MessengerSupport
Set the producer's default priority.
setProperties(Properties) - Method in class org.apache.commons.messenger.SessionFactory
 
setProtocol(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the protocol name and version associated with this Request.
setQueryString(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set the query string for this Request.
setRemoteAddr(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the IP address of the remote client associated with this Request.
setRemoteHost(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the fully qualified name of the remote client associated with this Request.
setReplyMessenger(Messenger) - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
 
setReplyMessenger(Messenger) - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
 
setReplyToConsumer(MessageConsumer) - Method in class org.apache.commons.messenger.MessengerSession
 
setReplyToDestination(Destination) - Method in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
 
setReplyToDestination(Destination) - Method in class org.apache.commons.messagelet.impl.MessageletResponseImpl
 
setReplyToDestination(Destination) - Method in class org.apache.commons.messenger.MessengerSession
Sets the reply to destination to use
setRequestedSessionCookie(boolean) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set a flag indicating whether or not the requested session ID for this request came in through a cookie.
setRequestedSessionId(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set the requested session ID for this request.
setRequestedSessionURL(boolean) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set a flag indicating whether or not the requested session ID for this request came in through a URL.
setRequestURI(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set the unparsed request URI for this Request.
setScheme(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the name of the scheme associated with this request.
setSecure(boolean) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the value to be returned by isSecure() for this Request.
setSelector(String) - Method in class org.apache.commons.messagelet.ConsumerThread
Sets the selector.
setSelector(String) - Method in class org.apache.commons.messagelet.model.Subscription
Setter for property selector.
setServerName(String) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the name of the server (virtual host) to process this request.
setServerPort(int) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the port number of the server to process this request.
setServlet(String) - Method in class org.apache.commons.messagelet.model.Subscription
Setter for property servlet.
setServletContext(ServletContext) - Method in class org.apache.commons.messagelet.SubscriptionManager
Sets the servletContext.
setServletPath(String) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set the servlet path for this Request.
setSessionFactory(SessionFactory) - Method in class org.apache.commons.messenger.DefaultMessenger
Sets the SessionFactory used to create new JMS sessions
setSessionFactory(SessionFactory) - Method in class org.apache.commons.messenger.SimpleMessenger
Sets the SessionFactory used to create new JMS sessions
setShouldStop(boolean) - Method in class org.apache.commons.messagelet.ConsumerThread
Sets the shouldStop.
setSleep(long) - Method in class org.apache.commons.messenger.task.ProducerTask
Setter for property sleep, which defines the number of milliseconds to sleep for before each send.
setStatus(int) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Set the HTTP status to be returned with this response.
setStatus(int, String) - Method in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
Deprecated. As of Version 2.1 of the Java Servlet API, this method has been deprecated due to the ambiguous meaning of the message parameter.
setStream(InputStream) - Method in class org.apache.commons.messagelet.impl.ServletRequestImpl
Set the input stream associated with this Request.
setStream(OutputStream) - Method in class org.apache.commons.messagelet.impl.ServletResponseImpl
Set the output stream associated with this Response.
setSubject(String) - Method in class org.apache.commons.messagelet.model.Subscription
Setter for property subject.
setSubject(String) - Method in class org.apache.commons.messenger.task.ConsumerTask
Setter for property subject.
setSubject(String) - Method in class org.apache.commons.messenger.task.ProducerTask
Setter for property subject.
setSubscriptionList(SubscriptionList) - Method in class org.apache.commons.messagelet.SubscriptionManager
Sets the subscriptionList.
setSubscriptions(List) - Method in class org.apache.commons.messagelet.model.SubscriptionList
 
setSubscriptionsConfig(String) - Method in class org.apache.commons.messagelet.Main
 
setTimeToLive(Destination, long) - Method in interface org.apache.commons.messenger.Messenger
 
setTimeToLive(Destination, long) - Method in class org.apache.commons.messenger.MessengerSupport
Set the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system.
setTopic(boolean) - Method in class org.apache.commons.messenger.SessionFactory
Sets whether to use a Topic or Queue connection/session
setTransacted(boolean) - Method in class org.apache.commons.messagelet.BridgeMDO
Sets whether this MDO should work in transacted mode
setTransacted(boolean) - Method in class org.apache.commons.messenger.SessionFactory
 
setTransactionManager(TransactionManager) - Method in class org.apache.commons.messagelet.XAConsumerThread
Sets the transaction manager to be used
setUsername(String) - Method in class org.apache.commons.messenger.SessionFactory
 
setUserPrincipal(Principal) - Method in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
Set the Principal who has been authenticated for this Request.
setValid(boolean) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Set the isValid flag for this session.
SimpleMessenger - Class in org.apache.commons.messenger
SimpleMessenger is an implementation of Messenger which uses a single JMS Session for sending to keep the JMS Session that should be used for a given calling thread.
SimpleMessenger() - Constructor for class org.apache.commons.messenger.SimpleMessenger
 
SimpleMessenger.ThreadLocalData - Class in org.apache.commons.messenger
 
SimpleMessenger.ThreadLocalData() - Constructor for class org.apache.commons.messenger.SimpleMessenger.ThreadLocalData
 
size() - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
Returns the current size of the buffer.
skip(long) - Method in class org.apache.commons.messagelet.impl.BufferedServletInputStream
 
sleep() - Method in class org.apache.commons.messenger.task.ProducerTask
Sleeps for a configurable amount of time between each message send
start() - Method in class org.apache.commons.messenger.DefaultServerSession
Cause the session's run method to be called to process messages that were just assigned to it.
startConsumer() - Method in class org.apache.commons.messagelet.ConsumerThread
Starts consuming messages
startTransaction() - Method in class org.apache.commons.messagelet.ConsumerThread
Strategy method to represent the code required to start a transaction.
startTransaction() - Method in class org.apache.commons.messagelet.XAConsumerThread
Strategy method to represent the code required to start a transaction.
status - Variable in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
The HTTP status code associated with this Response.
stopConsumer() - Method in class org.apache.commons.messagelet.ConsumerThread
Stops consuming messages
StopWatchMessageListener - Class in org.apache.commons.messenger.tool
A simple StopWatch Message Listener for wrapping another MessageListener to determine its performance.
StopWatchMessageListener() - Constructor for class org.apache.commons.messenger.tool.StopWatchMessageListener
 
StopWatchMessageListener(MessageListener) - Constructor for class org.apache.commons.messenger.tool.StopWatchMessageListener
 
stream - Variable in class org.apache.commons.messagelet.impl.ServletRequestImpl
The ServletInputStream that has been returned by getInputStream(), if any.
stream - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
The ServletOutputStream that has been returned by getOutputStream(), if any.
subscribe() - Method in class org.apache.commons.messagelet.SubscriptionManager
 
subscribe(Subscription) - Method in class org.apache.commons.messagelet.SubscriptionManager
 
Subscription - Class in org.apache.commons.messagelet.model
SubscriptionList a bean used by the digester to create a list of JMS subscriptions.
Subscription() - Constructor for class org.apache.commons.messagelet.model.Subscription
 
SubscriptionDigester - Class in org.apache.commons.messagelet.model
MessengerDigester is a digester of Messenger objects so that JMS Messengers can be created from an XML config file.
SubscriptionDigester() - Constructor for class org.apache.commons.messagelet.model.SubscriptionDigester
 
SubscriptionList - Class in org.apache.commons.messagelet.model
SubscriptionList a bean used by the digester to create a list of JMS subscriptions.
SubscriptionList() - Constructor for class org.apache.commons.messagelet.model.SubscriptionList
 
SubscriptionManager - Class in org.apache.commons.messagelet
SubscriptionManager is a simple command line program that will create a number of subscriptions and consume messages using just regular MDO and MessageListener classes.
SubscriptionManager() - Constructor for class org.apache.commons.messagelet.SubscriptionManager
 

T

toByteArray() - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
Creates a newly allocated byte array.
toString() - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
Converts the buffer's contents into a string, translating bytes into characters according to the platform's default character encoding.
toString(String) - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
Converts the buffer's contents into a string, translating bytes into characters according to the specified character encoding.
toString() - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
Return a string representation of this object.
toString() - Method in class org.apache.commons.messagelet.model.Subscription
Outputs a debugging string
toString() - Method in class org.apache.commons.messenger.MessengerSupport
 

U

unsubscribe() - Method in class org.apache.commons.messagelet.SubscriptionManager
 
unsubscribe(Subscription) - Method in class org.apache.commons.messagelet.SubscriptionManager
 
URLDecode(String) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Decode and return the specified URL-encoded String.
URLDecode(String, String) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Decode and return the specified URL-encoded String.
URLDecode(byte[]) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Decode and return the specified URL-encoded byte array.
URLDecode(byte[], String) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
Decode and return the specified URL-encoded byte array.
userPrincipal - Variable in class org.apache.commons.messagelet.impl.HttpServletRequestImpl
The Principal who has been authenticated for this Request.

V

validateOutputDestination() - Method in class org.apache.commons.messagelet.BridgeMDO
Validates that there is a valid output destintation that we can use.
validateOutputDestination() - Method in class org.apache.commons.messagelet.DistributeBridgeMDO
 

W

waitForever() - Method in class org.apache.commons.messagelet.Main
This method blocks the current thread indefinitely until the JVM is terminated.
wrapInStopWatch(MessageListener) - Method in class org.apache.commons.messagelet.SubscriptionManager
Allows the MessageListener to be wrapped inside a stop watch message listener if required
write(byte[]) - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
 
write(byte[], int, int) - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
 
write(int) - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
 
writeMessage(Message, HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.messenger.MessengerServlet
 
writeMessage(Message, Writer) - Method in class org.apache.commons.messenger.tool.Caller
Writes the given message to the Writer
writeMessage(Message, Writer) - Method in class org.apache.commons.messenger.tool.Consumer
Writes the given message to the Writer
writer - Variable in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
The PrintWriter that has been returned by getWriter(), if any
writer - Variable in class org.apache.commons.messagelet.impl.MessageletResponseImpl
The PrintWriter that has been returned by getWriter(), if any
writer - Variable in class org.apache.commons.messagelet.impl.ServletResponseImpl
The PrintWriter that has been returned by getWriter(), if any.
writeTo(OutputStream) - Method in class org.apache.commons.messagelet.impl.BufferedServletOutputStream
Writes the complete contents of this buffer to the specified output stream argument, as if by calling the output stream's write method using out.write(buf, 0, count).

X

XACapable - Interface in org.apache.commons.messenger
XACapable is an object (typically a MessageListener in this context) which can be part of an XA transaction.
XACapableAdapter - Class in org.apache.commons.messenger
XACapableAdapter is an adapter that implements XACapable for a given Messenger
XACapableAdapter(Messenger) - Constructor for class org.apache.commons.messenger.XACapableAdapter
 
XAConsumerThread - Class in org.apache.commons.messagelet
XAConsumerThread is a thread which will perform XA processing of messages
XAConsumerThread() - Constructor for class org.apache.commons.messagelet.XAConsumerThread
 
XAMessenger - Class in org.apache.commons.messenger
XAMessenger is a default implementation of Messenger which can also support XA transactions by enlisting and delisting XAResources.
XAMessenger() - Constructor for class org.apache.commons.messenger.XAMessenger
 

Z

zone - Static variable in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
The time zone with which to construct date headers.

A B C D E F G H I J L M N O P Q R S T U V W X Z

Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.