Skip to content

JS Sample update on Guaranteed Publisher/Subscriber and Queue Producer/Consumer #56

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

Merged
merged 5 commits into from
Nov 14, 2022

Conversation

gvensan
Copy link
Contributor

@gvensan gvensan commented Oct 31, 2022

The goal is to bring JS samples on par with JCSMP samples

  • Guaranteed publisher/Subscriber
  • Queue producer/consumer

Changes:

  • Modified QueueProducer & QueueConsumer to work with Topic subscriptions
  • Moved QueueProducer & Consumer to features
  • Added Guaranteed Publisher & Subscriber aligned with convention-based topic solace/samples/js/pers/pub/*
    Updated the HTML & CSS with additional instruction (pre-requisite) and a clear button to unclutter the textarea

…eed samples)

  - Modified QueueProducer & QueueConsumer to work with Topic subscriptions
  - Moved QueueProducer & Consumer to features
  - Added Guaranteed Publisher & Subscriber aligned with convention based topic solace/samples/js/pers/pub/*
Updated the HTML & CSS with a additional instruction (pre-requsiite) and a clear button to unclutter the textarea
  - Next iteration, we shall apply this on the rest of the samples
- Broker -> message router vpn
- Topic name solace/samples/js/pers/pub/> -> solace/samples/js/pers/>
@Mrc0113 Mrc0113 requested a review from TamimiGitHub November 10, 2022 18:21
logTextArea.scrollTop = logTextArea.scrollHeight;
};

publisher.log('\n*** publisher to topic "' + publisher.topicName + '/*" is ready to connect ***');
Copy link
Contributor

@TamimiGitHub TamimiGitHub Nov 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace /* with {correlation_id} in the log

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@@ -142,17 +143,20 @@ <h3>Queue Consumer</h3>
</div>

</fieldset>
<div class="box">
NOTE: Before you proceed, please ensure that the required queue is created on the message router vpn.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we replace message router vpn with Solace PubSub+ Event Broker throughout the samples please.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Copy link
Contributor

@TamimiGitHub TamimiGitHub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGT with minor logging modifications. Thanks!

- Renamed references "Solace Message Router." -> "Solace PubSub+ Event Broker."
- Added "optional" comment/note on the QueueProducer & GuraranteedPublisher around the use of CorrelationKey
…t Broker."

- Added "optional" comment/note on the QueueProducer & GuraranteedPublisher around the use of CorrelationKey
@TamimiGitHub TamimiGitHub merged commit eac44bd into SolaceSamples:master Nov 14, 2022
gvensan added a commit to gvensan/solace-samples-javascript that referenced this pull request Jan 2, 2023
Merge pull request SolaceSamples#56 from gvensan/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants