-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[service-bus] Track 2 - push down methods of MessageReceiver that are only used for StreamingReceiver #10322
[service-bus] Track 2 - push down methods of MessageReceiver that are only used for StreamingReceiver #10322
Conversation
/azp run js - servicebus - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
…sessionId and partitionKey is now considered a failure.
e188e51
to
9ab9a94
Compare
/azp run js - servicebus - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good! Thanks for making this change before refactoring the streaming receiver...I think this will help us focus on the important parts of the refactor 😄
Also wanted to make sure the changes to atomXml.spec.ts were intentional. Assuming your other PR that fixes live tests will unblock your CI here!
…live test run on my BatchingReceiverLite PR * Moved the receiverInit.spec.ts into 'internal' since it is purely a unit test.
…o StreamingReceiver. - maxConcurrentCalls - onDetach
…g receiver's onDetached.
…atch code flow explicit. * Push ReceiverHelper down - it wasn't used by the batching code path.
…ing ReceiverHelper in all the code but never removed it.
…_init() from MessageReceiver.
…od for the tests.
9ab9a94
to
f8a4133
Compare
/azp run js - servicebus - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - servicebus - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - servicebus - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
…ack2-refactor-streamingreceiver
/azp run js - servicebus - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
As part of the refactor/re-use work it became obvious that a large part of MessageReceiver was actually just hosting StreamingReceiver's code.
This PR pushes the methods that are completely StreamingReceiver specific down so they're no longer in the shared base between StreamingReceiver and BatchingReceiver.
No real refactoring has taken place, it's more or less a mechanical move*
*(Well...okay a little refactoring):