Console samples accept message on standard input.
C# sample.
Java sample.