remove NATS integration

This commit is contained in:
2026-05-15 11:55:41 +07:00
parent 0e24b7d044
commit df9012e0eb
10 changed files with 254 additions and 973 deletions

View File

@@ -2,7 +2,7 @@ use msghandler::{smartreceive, SmartreceiveOptions};
#[tokio::main]
async fn main() {
// Simulated NATS message JSON (received from NATS subscription)
// Simulated message JSON (received via any transport)
let msg_json_str = r#"{
"correlation_id": "abc123-def456-ghi789",
"msg_id": "msg-uuid-001",
@@ -15,7 +15,7 @@ async fn main() {
"receiver_id": "",
"reply_to": "/agent/wine/api/v1/response",
"reply_to_msg_id": "",
"broker_url": "nats://localhost:4222",
"broker_url": "localhost:4222",
"metadata": {},
"payloads": [
{