Excerpt |
---|
Certain information must be accessible to the message bus in order to route the messages and for the clients and pillars to distinguish messages. On the other hand, for confidentiality and integrity reasons it is desirable that most information is exchanged within the signed and possibly encrypted xml in the message body. |
The basic principle in the Bit Repository is that all information needed for the receiving party will be contained within the xml body of the broker messages, which is, in JMS/NMS terms a text message.
...
Currently the following message elements are proposed to be transmitted in the header as well as in the message xml:
Protocol /XML field element | JMS header/property | NMS header/property |
---|---|---|
correlationID CorrelationID | JMSCorrelationID | NMSCorrelationID |
To Destination | JMSDestination | NMSDestination |
ReplyTo | JMSReplyTo | NMSReplyTo |
Message type (root Root element - message type) | org.bitrepository.messages.type | org.bitrepository.messages.type |
BitRepositoryCollectionID CollectionID | org.bitrepository.messages.collectionid | org.bitrepository.messages.collectionid |
To | org.bitrepository.messages.to | org.bitrepository.messages.to |
org.bitrepository.messages.signature | org.bitrepository.messages.signature |
...