Permalink
Browse files

interop updates

  • Loading branch information...
1 parent 8afdc12 commit 5fafa3c5b7c76e108b24aa4a888aa2c128ed4cf8 @haf haf committed with phatboyg Mar 15, 2012
Showing with 22 additions and 4 deletions.
  1. +22 −4 doc/source/advanced/interop.rst
@@ -20,12 +20,30 @@ MassTransit's serializers do the main work of formatting the data that goes over
int RetryCount
string SourceAddress
-These are compulsory for a message to be delivered:
+This is a minimal message:
- * Message
- * MessageType
- * SourceAddress
+.. sourcecode:: javascript
+ {
+ "destinationAddress": "rabbitmq://isomorphism/MassTransit.Test.Receiver",
+ "headers": {},
+ "message": {
+ "spoken": "Something wierd is going on!",
+ "seqId": 2
+ },
+ "messageType": [
+ "urn:message:MassTransit.Test.Messages:ChatMessage"
+ ],
+ "retryCount": 0
+ }
+
+Which translates to these required properties:
+
+ * message
+ * messageType
+ * destinationAddress
MessageType is a list of urns. See MessageUrnSpecs for the format. Informally, it's like this::
urn:message:NAMESPACE1.NAMESPACE2:TYPE
+
+'retryCount', 'headers' will be defaulted.

0 comments on commit 5fafa3c

Please sign in to comment.