-
Notifications
You must be signed in to change notification settings - Fork 20
Add support for SB-Messaging adapter (empty message body rather than null) #187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@jcools85 would an empty byte array work for your scenario? |
@SeanFeldman yes, just tested with an empty byte array and that seems to work. |
Also, would it be correct to say that this issue adds support for "BizTalk's Service Bus Messaging adapter"? |
Looks good! That would indeed work for my scenario. |
Great. I'll release that over the weekend.
Great. I love to see CodeIt leveraging this plugin for various solutions.
That's likely due to the fact that the receiving part of the SB-Messaging adapter assumes the body is always there. Which is OK as long as the BT pipeline allows you to have the step before to consolidate the payload and the message. |
Thanks for handling this request so swiftly @SeanFeldman ! |
@jcools85 do you mind to share your Twitter account (for credits)? |
Found an issue with the body replacer. Will release once the other PR for the milestone is closed. |
I'm using ServiceBus.AttachmentPlugin in a hybrid integration solution, and my consumer (in this case BizTalk's SB-Messaging adapter) doesn't like the ServiceBus message body being null.
I can replace the message body stream in the receive pipeline to let my flow work, but the SB-Messaging adapter still logs an error in the eventlog:
Proposed solution:
Add an option to the AzureStorageAttachmentConfiguration constructor to avoid an empty message body when sending a message. For example, the blob.Name that is written to the custom property could also be written to the ServiceBus Message Body.
The text was updated successfully, but these errors were encountered: