Skip to content
Permalink
Browse files
http://issues.apache.org/activemq/browse/AMQNET-244
Update the STOMP commands to match the changes in the NMS API.
  • Loading branch information
Timothy A. Bish committed Mar 17, 2010
1 parent d85134b commit bbcf9a159b6de968a739e7c56b7a6da5b4b62091
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
@@ -79,6 +79,10 @@ public override Object Clone()
return o;
}

public void Delete()
{
throw new NotSupportedException("Stomp Cannot Delete Temporary Destinations");
}
}
}

@@ -41,6 +41,11 @@ override public DestinationType DestinationType
}
}

public String QueueName
{
get { return PhysicalName; }
}

public String GetQueueName()
{
return PhysicalName;
@@ -24,24 +24,23 @@ namespace Apache.NMS.Stomp.Commands
/// </summary>
public class TempTopic : TempDestination, ITemporaryTopic
{
public TempTopic()
: base()
public TempTopic() : base()
{
}

public TempTopic(String name)
: base(name)
public TempTopic(String name) : base(name)
{
}

override public DestinationType DestinationType
{
get
{
return DestinationType.TemporaryTopic;
}
get { return DestinationType.TemporaryTopic; }
}

public String TopicName
{
get { return PhysicalName; }
}

public String GetTopicName()
{

0 comments on commit bbcf9a1

Please sign in to comment.