2019-08-16 08:51:35 +00:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Messaging.TapetiExample
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Example of a simple broadcast message used in the standard publish - subscribe pattern
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class PublishSubscribeMessage
|
|
|
|
|
{
|
2019-08-16 09:47:57 +00:00
|
|
|
|
[Required(ErrorMessage = "Don't be impolite, supply a {0}")]
|
2019-08-16 08:51:35 +00:00
|
|
|
|
public string Greeting { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|