Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for exchange_declare (0.06 sec)

  1. docs/bucket/notifications/README.md

    ```py
    #!/usr/bin/env python
    import pika
    
    connection = pika.BlockingConnection(pika.ConnectionParameters(
            host='localhost'))
    channel = connection.channel()
    
    channel.exchange_declare(exchange='bucketevents',
                             exchange_type='fanout')
    
    result = channel.queue_declare(exclusive=False)
    queue_name = result.method.queue
    
    channel.queue_bind(exchange='bucketevents',
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
  2. internal/event/target/amqp.go

    	// Add more information here as required, but be aware to not overload headers
    	headers["minio-bucket"] = eventData.S3.Bucket.Name
    	headers["minio-event"] = eventData.EventName.String()
    
    	if err = ch.ExchangeDeclare(target.args.Exchange, target.args.ExchangeType, target.args.Durable,
    		target.args.AutoDeleted, target.args.Internal, target.args.NoWait, nil); err != nil {
    		return err
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 21 04:25:07 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top