Database Reference
In-Depth Information
The Contracts section will contain NServiceBus events, and the Internal section will
contain NServiceBus commands. Notice that SubmitOrder.cs was created when we
created the SubmitPayment command.
In the following screenshot, we can see the code that would normally contain your com-
mand message; at this time, it is nothing but a code stub. Here, we add a string field call
data to be passed through the message.
At this point, the code will not be compiled because the message only has one endpoint.
We need to deploy the other endpoint with the Deploy Component... command.
We can select the available endpoints. In this case, we also created an endpoint, Pay-
mentProcessing . We also have the ability to create new endpoints.
Search WWH ::




Custom Search