This repo will manage the Solace Tutorials, which helps developers get up to speed sending and receiving messages with Solace technology.
- Clone repo
- Install dependencies
npm i
- Run server
npm run develop
- Found on github.com/SolaceDev/solace-dev-tutorials
- Text based step by step tutorial on how to use the API/Protocol with references to Sample Code
- Categories:
- Key MEP
- API Features
Note: To be revised
- Found on github.com/SolaceSamples/solace-samples-{API-name}
- Code snippets referenced in tutorials
- Define the git repo in the
gatsby-config.js
file as follows
{
resolve: `gatsby-source-git`,
options: {
name: `{Lang}-Samples`,
remote: `{git_repo_url},
commit: '{commit_number}'
}
}
- In your tutorial markdown file (under
src/pages/tutorials/{api}/{tutorial}.md
), refer to your code snippet as follows
`embed:{Lang}-Samples/{path/to/file}#L{start_line}-{end_line}`
For example embed:JCSMP-Samples/src/main/java/com/solace/samples/jcsmp/patterns/DirectProcessor.java#L131-153