java.lang .Object org.jboss.resource.adapter.jms.inflow .JmsActivation JmsActivation public class JmsActivation implements ExceptionListener(Code) A generic jms Activation.
author: Adrian Brock version: $Revision: 60397 $
ONMESSAGE final public static Method ONMESSAGE (Code) The onMessage method
adapter protected JMSProviderAdapter adapter(Code) The jms provider adapter
connection protected Connection connection(Code) The connection
deliveryActive protected SynchronizedBoolean deliveryActive(Code) Whether delivery is active
destination protected Destination destination(Code) The destination
endpointFactory protected MessageEndpointFactory endpointFactory(Code) The message endpoint factory
isDeliveryTransacted protected boolean isDeliveryTransacted(Code) Is the delivery transacted
tm protected TransactionManager tm(Code) The TransactionManager
getConnection public Connection getConnection()(Code) the connection
getDestination public Destination getDestination()(Code) the destination
getMessageEndpointFactory public MessageEndpointFactory getMessageEndpointFactory()(Code) the message endpoint factory
getProviderAdapter public JMSProviderAdapter getProviderAdapter()(Code) the provider adapter
getTransactionManager public TransactionManager getTransactionManager()(Code)
getWorkManager public WorkManager getWorkManager()(Code) the work manager
handleFailure public void handleFailure(Throwable failure)(Code) Handles any failure by trying to reconnect
isDeliveryTransacted public boolean isDeliveryTransacted()(Code) whether delivery is transacted
onException public void onException(JMSException exception)(Code)
setupConnection protected void setupConnection(Context ctx) throws Exception (Code) Setup the Connection
Parameters: ctx - the naming contextthrows: Exception - for any error
setupDestination protected void setupDestination(Context ctx) throws Exception (Code) Setup the Destination
Parameters: ctx - the naming contextthrows: Exception - for any error
setupJMSProviderAdapter protected void setupJMSProviderAdapter() throws Exception (Code) Get the jms provider
setupQueueConnection protected QueueConnection setupQueueConnection(Context ctx, String user, String pass, String clientID) throws Exception (Code) Setup a Queue Connection
Parameters: ctx - the naming contextParameters: user - the userParameters: pass - the passwordParameters: clientID - the client idthrows: Exception - for any error
setupSessionPool protected void setupSessionPool() throws Exception (Code) Setup the server session pool
throws: Exception - for any error
setupTopicConnection protected TopicConnection setupTopicConnection(Context ctx, String user, String pass, String clientID) throws Exception (Code) Setup a Topic Connection
Parameters: ctx - the naming contextParameters: user - the userParameters: pass - the passwordParameters: clientID - the client idthrows: Exception - for any error
start public void start() throws ResourceException(Code) Start the activation
throws: ResourceException - for any error
stop public void stop()(Code) Stop the activation
teardown protected void teardown()(Code) Teardown the activation
teardownConnection protected void teardownConnection()(Code) Teardown the connection
teardownDLQ protected void teardownDLQ()(Code) Teardown the DLQ
teardownDestination protected void teardownDestination()(Code) Teardown the destination
teardownSessionPool protected void teardownSessionPool()(Code) Teardown the server session pool