-
Notifications
You must be signed in to change notification settings - Fork 33
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
Conversation
…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/>
logTextArea.scrollTop = logTextArea.scrollHeight; | ||
}; | ||
|
||
publisher.log('\n*** publisher to topic "' + publisher.topicName + '/*" is ready to connect ***'); |
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.
replace /*
with {correlation_id}
in the log
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.
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. |
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.
can we replace message router vpn
with Solace PubSub+ Event Broker
throughout the samples please.
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.
Done!
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.
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
Merge pull request SolaceSamples#56 from gvensan/master
The goal is to bring JS samples on par with JCSMP samples
Changes:
Updated the HTML & CSS with additional instruction (pre-requisite) and a clear button to unclutter the textarea