Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
AMQPCAT(1)			  User Commands 		      AMQPCAT(1)

NAME
     amqpcat - CLI tool to publish to and consume from AMQP servers

SYNOPSIS
     amqpcat [arguments]

DESCRIPTION
     -P, --producer
	    Producer mode, reading from STDIN, each line is a new message

     -C, --consumer
	    Consume mode, message bodies are written to STDOUT

     -R, --rpc
	    Remote  prodecure call mode, reading from STDIN and returning result
	    STDOUT

     -u URI, --uri=URI
	    URI to AMQP server

     -e EXCHANGE, --exchange=EXCHANGE
	    Exchange (default: '')

     -t EXCHANGETYPE, --exchange-type=TYPE
	    Exchange type (default: direct)

     -r ROUTINGKEY, --routing-key=KEY
	    Routing key when publishing

     -q QUEUE, --queue=QUEUE
	    Queue to consume from

     , --queue-type=QUEUE_TYPE
	    Queue type (classic, quorum or stream)

     -c, --publish-confirm
	    Confirm publishes

     -m VALUE, --mode=VALUE
	    Delivery mode, 1 = transient, 2 = persistent

     -o OFFSET, --offset OFFSET
	    Stream queue: Offset to start reading from

     -f FORMAT, --format=FORMAT
	    Format string (default "%s\n") %e: Exchange name %r: Routing key %t:
	    Content type %s: Body, as string %h: Headers, as key=value \n:  New-
	    line \t: Tab

     -d DIR, --dir=DIR
	    Directory to write messages to (as separate files)

     --content-type=TYPE
	    Content type header

     --content-encoding=ENC
	    Content encoding header

     --priority=LEVEL
	    Priority header

     --expiration=TIME
	    Expiration header (ms before msg is dead lettered)

     -z     Exit on connection

     -v, --version
	    Display version

     -h, --help
	    Show this help message

amqpcat 1.0.2			   August 2026			      AMQPCAT(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=amqpcat&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help