- CACHE_REQUESTOR - Static variable in class org.apache.commons.messenger.MessengerSupport
-
- cacheProducers - Variable in class org.apache.commons.messenger.MessengerSupport
-
whether MessageProducer instances should be cached or not
- cacheRequestors - Variable in class org.apache.commons.messenger.MessengerSupport
-
Should we cache the requestor object per thread?
- 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.
- clientID - Variable in class org.apache.commons.messenger.SessionFactory
-
The client ID for the connection
- 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
- connection - Variable in class org.apache.commons.messagelet.model.Subscription
-
Holds value of property connection.
- connection - Variable in class org.apache.commons.messenger.SessionFactory
-
The JMS connection used to create JMS sessions
- connectionFactory - Variable in class org.apache.commons.messenger.MessengerDigester
-
- connectionFactory - Variable in class org.apache.commons.messenger.SessionFactory
-
The JMS ConnectionFactory used to create JMS Connection instances
- connectionsConfig - Variable in class org.apache.commons.messagelet.Main
-
The URI that connections are loaded from
- consumer - Variable in class org.apache.commons.messagelet.ConsumerThread
-
- 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
-
- consumerThread - Variable in class org.apache.commons.messagelet.model.Subscription
-
should a ConsumerThread be used to consume these messages
- consumerThreadClass - Variable in class org.apache.commons.messagelet.model.SubscriptionDigester
-
- 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.messagelet.MessageDrivenObjectSupport
-
The ServletContext with which this dispatcher is associated.
- 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.
- continueOnSubscribeException - Variable in class org.apache.commons.messagelet.ManagerServlet
-
Whether exceptions occurring during subscriptions on startup should
terminate the initialization
- convertHexDigit(byte) - Static method in class org.apache.commons.messagelet.impl.RequestUtil
-
Convert a byte character value to hexidecimal digit value.
- 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.
- count - Variable in class org.apache.commons.messenger.Lock
-
- count - Static variable in class org.apache.commons.messenger.SimpleMessenger
-
- count - Variable in class org.apache.commons.messenger.task.ConsumerTask
-
the number of messages to receive
- count - Variable in class org.apache.commons.messenger.tool.StopWatchMessageListener
-
the number of messages processed
- 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.
- creationTime - Variable in class org.apache.commons.messagelet.impl.HttpSessionImpl
-
The time this session was created, in milliseconds since midnight,
January 1, 1970 GMT.
- 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
-
- groupSize - Variable in class org.apache.commons.messenger.tool.StopWatchMessageListener
-
the message group size
- 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
-
- manager - Variable in class org.apache.commons.messagelet.Main
-
The JMS connections
- manager - Variable in class org.apache.commons.messagelet.SubscriptionManager
-
The JMS connections
- 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
-
- maxInactiveInterval - Variable in class org.apache.commons.messagelet.impl.HttpSessionImpl
-
The maximum time interval, in seconds, between client requests before
the servlet container may invalidate this session.
- message - Variable in class org.apache.commons.messagelet.impl.HttpMessageletRequestImpl
-
The Message which caused this request
- message - Variable in class org.apache.commons.messagelet.impl.HttpServletResponseImpl
-
The error message set by sendError()
.
- message - Variable in class org.apache.commons.messagelet.impl.MessageletRequestImpl
-
The Message which caused this request
- 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
-
- messageListener - Variable in class org.apache.commons.messagelet.model.Subscription
-
Holds value of property messageListener.
- messageListener - Variable in class org.apache.commons.messenger.ListenerKey
-
- messageListener - Variable in class org.apache.commons.messenger.tool.StopWatchMessageListener
-
the underlying MessageListener
- 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 - Variable in class org.apache.commons.messagelet.ConsumerThread
-
- messenger - Variable in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
-
the messenger used to send replies to
- messenger - Variable in class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
-
The reply to messenger
- messenger - Variable in class org.apache.commons.messagelet.impl.MessageletResponseImpl
-
the messenger used to send replies to
- messenger - Variable in class org.apache.commons.messagelet.impl.MessageServletDispatcher
-
The reply to messenger
- messenger - Variable in class org.apache.commons.messagelet.MessengerMDO
-
the Messenger with which this MDO is associated
- 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.MessengerListenerSupport
-
- messenger - Variable in class org.apache.commons.messenger.MessengerServlet
-
Holds value of property messenger.
- messenger - Variable in class org.apache.commons.messenger.MessengerSession
-
The current messenger to which I'm connected
- messenger - Variable in class org.apache.commons.messenger.task.ConsumerTask
-
- messenger - Variable in class org.apache.commons.messenger.task.ProducerTask
-
- messenger - Variable in class org.apache.commons.messenger.tool.Consumer
-
- messenger - Variable in class org.apache.commons.messenger.tool.Producer
-
- messenger - Variable in class org.apache.commons.messenger.XACapableAdapter
-
- messengerClass - Variable in class org.apache.commons.messenger.MessengerDigester
-
- 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 - Variable in class org.apache.commons.messagelet.MessengerMDO
-
the MessengerManager which manages the Messenger
- MessengerManager - Class in org.apache.commons.messenger
-
MessengerManager
is a manager of
Messenger
instances.
- MessengerManager() - Constructor for class org.apache.commons.messenger.MessengerManager
-
- messengerManager - Variable in class org.apache.commons.messenger.task.ConsumerTask
-
- messengerManager - Variable in class org.apache.commons.messenger.task.ProducerTask
-
- messengerManagerClass - Variable in class org.apache.commons.messenger.MessengerDigester
-
- 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
-
- messengerName - Variable in class org.apache.commons.messenger.task.ConsumerTask
-
- messengerName - Variable in class org.apache.commons.messenger.task.ProducerTask
-
- messengers - Variable in class org.apache.commons.messenger.MessengerManager
-
A map where the key = name and value = messenger
- 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
-
- messengerSessionPool - Variable in class org.apache.commons.messenger.DefaultMessenger
-
the MessengerSession for each thread
- 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.
- 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.
- readObject(ObjectInputStream) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
-
Read a serialized version of this session object from the specified
object input stream.
- readObjectData(ObjectInputStream) - Method in class org.apache.commons.messagelet.impl.HttpSessionImpl
-
Read a serialized version of the contents of this session object from
the specified object input stream, without requiring that the
StandardSession itself have been serialized.
- 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() - Method in class org.apache.commons.messagelet.ConsumerThread
-
Strategy method to consume a message using a receive() kind of method.
- 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()
- replyToConsumer - Variable in class org.apache.commons.messenger.MessengerSession
-
the MessageConsumer for this threads reply to destination
- replyToDestination - Variable in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
-
the reply to destination to send replies to
- replyToDestination - Variable in class org.apache.commons.messagelet.impl.MessageletResponseImpl
-
the reply to destination to send replies to
- replyToDestination - Variable in class org.apache.commons.messenger.MessengerSession
-
The inbox which is used for the call() methods
- request - Variable in class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
-
The HttpServletRequest object we will pass to the servlet engine
- request - Variable in class org.apache.commons.messagelet.impl.MessageServletDispatcher
-
The ServletRequest object we will pass to the servlet engine
- 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?
- requestorsMap - Variable in class org.apache.commons.messenger.MessengerSession
-
An optional cache of requestors
- 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.
- response - Variable in class org.apache.commons.messagelet.impl.MessageHttpServletDispatcher
-
The HttpServletResponse object we will pass to the servlet engine
- response - Variable in class org.apache.commons.messagelet.impl.MessageServletDispatcher
-
The ServletResponse object we will pass to the servlet engine
- 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
-
- 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?
- selector - Variable in class org.apache.commons.messagelet.ConsumerThread
-
- selector - Variable in class org.apache.commons.messagelet.model.Subscription
-
Holds value of property selector.
- selector - Variable in class org.apache.commons.messenger.ListenerKey
-
- 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
-
- servlet - Variable in class org.apache.commons.messagelet.model.Subscription
-
Holds value of property servlet.
- 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
- servletContext - Variable in class org.apache.commons.messagelet.SubscriptionManager
-
The context passed into MDOs
- 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.
- session - Variable in class org.apache.commons.messenger.DefaultServerSession
-
The JMS Session on which this ServerSession is based
- session - Variable in class org.apache.commons.messenger.MessengerSession
-
the JMS Session for this thread
- sessionFactory - Variable in class org.apache.commons.messenger.DefaultMessenger
-
the SessionFactory used to create new JMS sessions
- sessionFactory - Variable in class org.apache.commons.messenger.DefaultServerSessionPool
-
the factory used to create new Sessions
- sessionFactory - Variable in class org.apache.commons.messenger.MessengerDigester
-
- sessionFactory - Variable in class org.apache.commons.messenger.MessengerSession
-
The factory used to create each thread's JMS Session
- SessionFactory - Class in org.apache.commons.messenger
-
SessionFactory
is a Factory of JMS Session objects.
- SessionFactory() - Constructor for class org.apache.commons.messenger.SessionFactory
-
- sessionFactory - Variable in class org.apache.commons.messenger.SimpleMessenger
-
the SessionFactory used to create new JMS sessions
- 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.
- SHARE_CONNECTION - Static variable in class org.apache.commons.messenger.DefaultMessenger
-
- shouldStop - Variable in class org.apache.commons.messagelet.ConsumerThread
-
- 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
-
- singleton - Static variable in class org.apache.commons.messenger.MessengerManager
-
The singleton MessengerManager used by the static get() method
- 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 - Variable in class org.apache.commons.messenger.task.ProducerTask
-
Holds value of property sleep.
- 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
- started - Variable in class org.apache.commons.messenger.DefaultServerSession
-
Indicates whether the session has been started
- startTime - Variable in class org.apache.commons.messenger.tool.StopWatchMessageListener
-
the time that the batch started processing
- 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
- stopWatchClass - Variable in class org.apache.commons.messagelet.model.SubscriptionDigester
-
- 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.HttpMessageletRequestImpl
-
The stream to read the body of the current Message
- stream - Variable in class org.apache.commons.messagelet.impl.HttpMessageletResponseImpl
-
The BufferedServletOutputStream that is given to the servlet to capture
the response
- stream - Variable in class org.apache.commons.messagelet.impl.MessageletRequestImpl
-
The stream to read the body of the current Message
- stream - Variable in class org.apache.commons.messagelet.impl.MessageletResponseImpl
-
The BufferedServletOutputStream that is given to the servlet to capture
the response
- 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.
- subject - Variable in class org.apache.commons.messagelet.model.Subscription
-
Holds value of property subject.
- subject - Variable in class org.apache.commons.messenger.task.ConsumerTask
-
- subject - Variable in class org.apache.commons.messenger.task.ProducerTask
-
- 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
-
- subscriptionClass - Variable in class org.apache.commons.messagelet.model.SubscriptionDigester
-
- 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 - Variable in class org.apache.commons.messagelet.Main
-
The JMS Subscriptions
- 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
-
- subscriptionList - Variable in class org.apache.commons.messagelet.SubscriptionManager
-
The JMS Subscriptions
- 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
-
- subscriptions - Variable in class org.apache.commons.messagelet.model.SubscriptionList
-
- subscriptionsClass - Variable in class org.apache.commons.messagelet.model.SubscriptionDigester
-
- subscriptionsConfig - Variable in class org.apache.commons.messagelet.Main
-
The URI where subscriptions are loaded from
- support - Variable in class org.apache.commons.messagelet.impl.HttpSessionImpl
-
The property change support for this component.