SAService Architect Open designer
SAService ArchitectDocumentation
Broker guide

RabbitMQ AMQP 1.0

Queue consumption on Go/Python and publication on Go/Python/TypeScript.

When to use

Use when selecting a broker or configuring its Input/Sink endpoints.

Behavior

  • Input receives messages into a pipeline; Sink publishes messages from a pipeline. Declaring an endpoint alone does not connect a graph.
  • Check the deployed generator capability catalog for the selected language and direction. Updating a plugin alone does not update the backend.
  • Creation is explicitly enabled per resource; existing-only is the default. Missing or incompatible resources fail instead of being silently replaced.
  • Supply credentials through runtime environment/Vault configuration. Never embed secrets in architecture source, URLs or Help examples. TLS certificate paths require deployed files.
  • Request completion (Done) is not a broker ACK. A publication result is not proof of downstream business processing. Unknown send outcomes must not be blindly retried.
  • Input consumes a queue. Sink publishes directly to a queue or through an exchange/routing key. Accepted/released/rejected outcomes retain their native meaning.

Connection properties

Connection

PropertyTypeDescription
serversstring[]

Explicit broker URL list; credentials are supplied separately.

connectTimeoutMs / operationTimeoutMsinteger

Connection and operation deadlines in integer milliseconds.

tlsEnabled / tlsServerName / tlsCaFile / tlsCertFile / tlsKeyFilestring

TLS configuration where exposed by this connector. Client certificate and key must be supplied together.

virtualHoststring

Separate from amqp(s) server URLs; TypeScript accepts only /.

Endpoint properties

Endpoint

PropertyTypeDescription
queueNamestring

Required on Input; direct queue destination on Sink.

exchangeName / routingKeystring

Exchange publication destination on Sink, or explicit binding configuration.

queueType / exchangeTypestring

quorum or classic queues; direct, topic or fanout exchanges.

createQueue / createExchange / createBindingboolean

Explicit resource opt-ins, default false.

consumerCreditsinteger

Input admission credit on supported runtimes.

publisherMaxInFlightinteger

Sink admission limit.

Python DSL declaration (wire endpoints to Input/Sink separately)

from sa_dsl import Project, Function, LOCAL_MODULE

project = Project("BrokerExample")
broker = project.rabbitmq_connector("Events", servers=["amqp://localhost:5672"],
    virtual_host="/")
endpoint = broker.endpoint("Publish events", queue_name="orders", create_queue=False,
    function=Function("PublishEvents", module=LOCAL_MODULE))