Commit c1bd7f0
committed
Connector: set SubscriptionId on locally-generated order messages
InitNewOrderAsync and SendOrderFailedAsync sent ExecutionMessage
via SendOutMessageAsync without SubscriptionIds. This caused
GetSubscriptions() to return empty, so the new-style OrderReceived
event never fired for Pending orders. Only the deprecated NewOrder
event worked. Fix: set SubscriptionId = OrderLookup.TransactionId
on both Pending and local-fail messages.1 parent 65af099 commit c1bd7f0
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
720 | 730 | | |
721 | 731 | | |
722 | 732 | | |
| |||
795 | 805 | | |
796 | 806 | | |
797 | 807 | | |
798 | | - | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
799 | 811 | | |
800 | 812 | | |
801 | 813 | | |
| |||
0 commit comments