Outbox messages are store with defferent "EndpointName" and "ActualEndpointName"
See original GitHub issueI expect “ActualEndpointName” equals “EndpointName” in the outbox table, but it’s defferent (see screanschort).
Here outbound configuration
.AddOutbound<NotifyPaymentEvent>(endpoint => endpoint
.ProduceTo(nameof(NotifyPaymentEvent))
.WithKafkaKey<NotifyPaymentEvent>(envelope => envelope.Message.Id)
.Configure(producerConfig)
.SerializeAsJsonUsingNewtonsoft()
.ProduceToOutbox())
This seems to be the cause of the error:
fail: Silverback.Messaging.Outbound.TransactionalOutbox.OutboxWorker[1077]
Failed to produce the message stored in the outbox. | endpointName: StudentUserPhoneDuplicateEvent, messageType: *project-name*.DrivingStartingEvent, *project-name*, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, messageId: 1e563aad-8b99-4daa-a981-f667d507bb8a, unused1: (null), unused2: (null)
System.InvalidOperationException: No endpoint with name 'StudentUserPhoneDuplicateEvent' could be found for a message of type '*project-name*.DrivingStartingEvent'.
at Silverback.Messaging.Outbound.TransactionalOutbox.OutboxWorker.GetTargetEndpoint(Type messageType, String endpointName, IServiceProvider serviceProvider)
at Silverback.Messaging.Outbound.TransactionalOutbox.OutboxWorker.ProcessMessageAsync(OutboxStoredMessage message, ConcurrentBag`1 failedMessages, IOutboxReader outboxReader, IServiceProvider serviceProvider)
Issue Analytics
- State:
- Created a year ago
- Comments:23 (14 by maintainers)
Top Results From Across the Web
Email stays in Outbox until manually send or receive
When you send an e-mail message in Microsoft Outlook, the message may remain in your Outbox folder as shown in the following figure....
Read more >Email remains in Outbox if using DelegateSentItemsStyle
This article provides a resolution for the issue that the email message is still in Outbox when you use the DelegateSentItemsStyle registry ...
Read more >Are the emails inside the outbox folder stored locally on ...
2 Answers. You're right. For IMAP accounts Outlook stores Outbox locally in . OST cache file.
Read more >Messages get sent, but remains in outbox - MS Office
Messages are sent and the addressees receive them. However, the messages remain in my Outbox and are not moved to the Sent Items...
Read more >Why an email gets stuck in Outlook and how to make it send
This article explains why an email message may be stuck in Outlook and how to fix this: make the message send or delete...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@BEagle1984, @davimorao and I work together rs
We tried the beta and everything worked good!
@cookie-bytes did you try that?
Published v4.1.1 including the fix