From 0e28b0ecdec514f2630674ab4ce43a1178296402 Mon Sep 17 00:00:00 2001 From: Emilien GUILMINEAU Date: Wed, 28 Aug 2019 15:58:53 +0200 Subject: [PATCH] Fixe some errors on README There was a bad reference to the `CloudNative.CloudEvents.Amqp` namespace, and the `Subject` property of type `CloudEvent` was not pointed in the 'Property name' column of the table Signed-off-by: Emilien GUILMINEAU --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index efce58a..acd6edc 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ it as a 0.3 event. | cloudEventsVersion | specversion | specversion | `CloudEvent.SpecVersion` | `System.String` | eventTime | time | time | `CloudEvent.Time` | `System.DateTime` | source | source | source | `CloudEvent.Source` | `System.Uri` -| - | - | subject | `CloudEvent.Source` | `System.String` +| - | - | subject | `CloudEvent.Subject` | `System.String` | schemaUrl | schemaurl | schemaurl | `CloudEvent.SchemaUrl` | `System.Uri` | contentType | contenttype | datacontenttype | `CloudEvent.ContentType` | `System.Net.Mime.ContentType` | - | - | datacontentencoding | `CloudEvent.DataContentEncoding` | `System.String` | @@ -216,8 +216,8 @@ context.Response.StatusCode = (int)HttpStatusCode.OK; The SDK provides extensions for the [AMQPNetLite](https://github.com/Azure/amqpnetlite) package. -For AMQP support, you must reference the `CloudNative.CloudEvents.Mqtt` assembly and -reference the namespace in your code with `using CloudNative.CloudEvents.Mqtt`. +For AMQP support, you must reference the `CloudNative.CloudEvents.Amqp` assembly and +reference the namespace in your code with `using CloudNative.CloudEvents.Amqp`. The `AmqpCloudEventMessage` extends the `AMQPNetLite.Message` class. The constructor allows creating a new AMQP message that holds a CloudEvent in either structured or binary