public class JdbcTopic
extends java.lang.Object
Constructor and Description |
---|
JdbcTopic() |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns the JDBC id for the topic.
|
java.lang.String |
getName() |
java.lang.String |
getTopicName()
Returns the topic's name.
|
void |
init()
Initializes the JdbcTopic
|
boolean |
isTopic()
Returns true for a topic.
|
void |
send(Message message)
Sends the message to the queue.
|
void |
setTopicName(java.lang.String name)
Sets the topic's name.
|
java.lang.String |
toString()
Returns a printable view of the queue.
|
public java.lang.String getTopicName()
public java.lang.String getName()
public void setTopicName(java.lang.String name)
public boolean isTopic()
public int getId()
@PostConstruct public void init() throws ConfigException, java.sql.SQLException
ConfigException
java.sql.SQLException
public void send(Message message) throws JMSException
JMSException
public java.lang.String toString()
toString
in class java.lang.Object