update
This commit is contained in:
@@ -462,9 +462,9 @@ def smartsend(subject, data, nats_url=DEFAULT_NATS_URL, fileserver_url=DEFAULT_F
|
||||
is_publish: Whether to automatically publish the message to NATS (default: True)
|
||||
|
||||
Returns:
|
||||
tuple: (env, msg_json_str) where:
|
||||
tuple: (env, env_json_str) where:
|
||||
- env: MessageEnvelope object with all metadata and payloads
|
||||
- msg_json_str: JSON string representation of the envelope for publishing
|
||||
- env_json_str: JSON string representation of the envelope for publishing
|
||||
"""
|
||||
# Generate correlation ID if not provided
|
||||
cid = correlation_id if correlation_id else str(uuid.uuid4())
|
||||
|
||||
Reference in New Issue
Block a user