public class JmsConnection extends DataObject
id, log, name, TIMESTAMP_FORMAT
Constructor and Description |
---|
JmsConnection(JmsSettings settings) |
Modifier and Type | Method and Description |
---|---|
DataException |
addExceptionProperties(DataException exception)
Adds this object's current state to a
DataException . |
void |
close() |
Connection |
getConnection() |
Destination |
getDestination() |
Session |
getSession() |
void |
open() |
void |
start() |
void |
stop() |
public JmsConnection(JmsSettings settings)
public Connection getConnection()
public Session getSession()
public Destination getDestination()
public void open() throws DataException
DataException
public void close() throws DataException
DataException
public DataException addExceptionProperties(DataException exception)
DataObject
DataException
. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.addExceptionProperties
in class DataObject
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.