Skip to content

Commit 321b494

Browse files
Added basic README content
1 parent 6ae6e24 commit 321b494

File tree

1 file changed

+46
-4
lines changed

1 file changed

+46
-4
lines changed

README.md

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,49 @@
1-
# Tauri + React
1+
# Solace Queue Browser Utility
22

3-
This template should help get you started developing with Tauri and React in Vite.
3+
This project offers a Solace Queue Browser which can run either as a desktop application (Windows, Mac, and Linux) or fully in-browser with certain restrictions. Most of the capabilities of the tool require interacting with a Solace broker using both SEMP and the Solace Javascript client library, and as such, users must provide two sets of credentials to establish a connection.
44

5-
## Recommended IDE Setup
5+
> [!IMPORTANT]
6+
> Most of the capabilities of this tool require replay to be enabled. In most modes of operation, the utiltiy assumes all messages found on a given queue are also present on the Replay Log. Unexpected behavior may occur if the replay log has been trimmed while messages are still on the queue, or if replay filtering results in a mix replayable and non-replayable messages. Additionally, the browser will typically show messages that have been acknowledged out-of-order as still being present on a given queue.
67
7-
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
8+
## Core Capabilities
9+
10+
- Bidrectionally browsing a queue (replay-based) from:
11+
- The oldest message (queue head)
12+
- The newest message (queue tail)
13+
- A specified date/time
14+
- A specified RGMID or Message ID
15+
- Forward-only basic queue browing (no replay required)
16+
- Client-side payload and header filtering
17+
18+
Additionally, the following features are planned:
19+
- Republishing messages from one queue to another
20+
- Browsing messages based on topic an selectors
21+
- Browsing of Partitioned Queues
22+
23+
## Project Design and Architecture
24+
25+
All UI components of the project are written in HTML/JS using the Prime React component library.
26+
27+
### Browser Mode
28+
To run the application in browser mode, check out the source code and run:
29+
30+
```
31+
> npm install
32+
> npm run dev
33+
```
34+
35+
Then open up a browser session and navigate to http://localhost:1420/.
36+
37+
> [!NOTE]
38+
> When running the application via a browser, the broker SEMP service must be [configured to allow any host](https://docs.solace.com/Services/Managing-Services.htm#managing-cross-origin-resource-sharing). Also, if the Queue Browser is hosted on a domain other than `localhost`, the browser and broker TLS configuration must match. For example, running the utility from over HTTP allows connecting to HTTP (non secured) brokers, while running from an HTTPS site will only permit connecting to HTTPS brokers.
39+
40+
### Desktop Mode
41+
42+
Running this project as a desktop application assumes you have a Rust compiler installed on your system. The complete steps and prerequisites for building a Tauri app can be [found here](https://v1.tauri.app/v1/guides/getting-started/prerequisites/).
43+
44+
Once the prerequisites have been met, it is possible to run in desktop mode:
45+
46+
```
47+
npm install
48+
npm run tauri dev
49+
```

0 commit comments

Comments
 (0)