mirror of https://github.com/apache/activemq.git
29 lines
524 B
C#
29 lines
524 B
C#
|
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);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|