mirror of
https://github.com/apache/activemq.git
synced 2025-02-07 18:49:42 +00:00
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356304 13f79535-47bb-0310-9956-ffa450edef68
29 lines
524 B
C#
Executable File
29 lines
524 B
C#
Executable File
using System;
|
|
|
|
namespace ActiveMQ
|
|
{
|
|
/// <summary>
|
|
/// Summary description for ActiveMQTopic.
|
|
/// </summary>
|
|
public class ActiveMQTopic : ActiveMQDestination
|
|
{
|
|
public ActiveMQTopic(): base() {}
|
|
public ActiveMQTopic(String name):base(name){}
|
|
public String getTopicName()
|
|
{
|
|
return super.getPhysicalName();
|
|
}
|
|
public override int getDestinationType()
|
|
{
|
|
return ACTIVEMQ_TOPIC;
|
|
}
|
|
|
|
|
|
public override ActiveMQDestination createDestination(String name)
|
|
{
|
|
return new ActiveMQTopic(name);
|
|
}
|
|
|
|
}
|
|
}
|