Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NotifyPublish (0.18 sec)

  1. internal/event/target/amqp.go

    	}
    
    	target.connMutex.Lock()
    	defer target.connMutex.Unlock()
    
    	if target.conn != nil {
    		ch, err = target.conn.Channel()
    		if err == nil {
    			if target.args.PublisherConfirms {
    				confirms := ch.NotifyPublish(make(chan amqp091.Confirmation, 1))
    				if err := ch.Confirm(false); err != nil {
    					ch.Close()
    					return nil, nil, err
    				}
    				return ch, confirms, nil
    			}
    			return ch, nil, nil
    		}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top