This method publishes a message to a specific exchange.
Namespace:
Kaazing.AMQPAssembly: Kaazing.AMQP (in Kaazing.AMQP.dll)
Syntax
Visual Basic |
---|
Public Function PublishBasic ( _ body As ByteBuffer, _ properties As AmqpProperties, _ exchange As String, _ routingKey As String, _ mandatory As Boolean, _ immediate As Boolean _ ) As AmqpChannel |
C# |
---|
public AmqpChannel PublishBasic( ByteBuffer body, AmqpProperties properties, string exchange, string routingKey, bool mandatory, bool immediate ) |
Visual C++ |
---|
public: AmqpChannel^ PublishBasic( ByteBuffer^ body, AmqpProperties^ properties, String^ exchange, String^ routingKey, bool mandatory, bool immediate ) |
Parameters
- body
- Type: ByteBuffer
AMQP message payload
- properties
- Type: Kaazing.AMQP..::..AmqpProperties
AMQP content properties as AmqpProperties
- exchange
- Type: System..::..String
exchange
- routingKey
- Type: System..::..String
Message routing key
- mandatory
- Type: System..::..Boolean
indicate mandatory routing
- immediate
- Type: System..::..Boolean
Request immitiate delivery