Skip to content

Commit 2ec7087

Browse files
committed
Fixed bug where the Publish method did not pass the serializer correctly to the SendAsync method, causing it to default back to the default serializer.
1 parent 65bb09d commit 2ec7087

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/ProjectExtensions.Azure.ServiceBus/Sender/AzureBusSender.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void Send<T>(T obj, IServiceBusSerializer serializer = null, IDictionary<
5656
SendAsync<T>(obj, null, (result) => {
5757
waitObject.Set();
5858
failureException = result.ThrownException;
59-
}, metadata);
59+
}, serializer, metadata);
6060

6161
// Wait until the messaging operations are completed.
6262
bool completed = waitObject.WaitOne(sentTimeout);

0 commit comments

Comments
 (0)