2019-08-16 10:51:35 +02: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 11:47:57 +02:00
|
|
|
|
[Required(ErrorMessage = "Don't be impolite, supply a {0}")]
|
2019-08-16 10:51:35 +02:00
|
|
|
|
public string Greeting { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|