Package org.jboss.resource.adapter.jms
Interface JmsSessionFactory
-
- All Superinterfaces:
AutoCloseable,javax.jms.Connection,javax.jms.QueueConnection,javax.jms.TopicConnection
- All Known Implementing Classes:
JmsSessionFactoryImpl
public interface JmsSessionFactory extends javax.jms.Connection, javax.jms.TopicConnection, javax.jms.QueueConnectionA marker interface to join topics and queues into one factory.- Author:
- Peter Antman., Adrian Brock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddTemporaryQueue(javax.jms.TemporaryQueue temp)Add a temporary queuevoidaddTemporaryTopic(javax.jms.TemporaryTopic temp)Add a temporary topicvoidcloseSession(JmsSession session)Notification that a session is closed-
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createSession, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
-
-
-
-
Field Detail
-
ISE
static final String ISE
Error message for strict behaviour- See Also:
- Constant Field Values
-
-
Method Detail
-
addTemporaryQueue
void addTemporaryQueue(javax.jms.TemporaryQueue temp)
Add a temporary queue- Parameters:
temp- the temporary queue
-
addTemporaryTopic
void addTemporaryTopic(javax.jms.TemporaryTopic temp)
Add a temporary topic- Parameters:
temp- the temporary topic
-
closeSession
void closeSession(JmsSession session) throws javax.jms.JMSException
Notification that a session is closed- Throws:
javax.jms.JMSException- for any error
-
-