exchangeDeclare

Declares an exchange using a DeclaredExchange instance.

Return

The declared exchange response.

Parameters

declaredExchange

The DeclaredExchange instance containing the exchange properties.


Declares an exchange using a DeclaredExchangeBuilder block.

Return

The declared exchange response.

Parameters

block

The block to configure the DeclaredExchangeBuilder.