amqpx 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -56,6 +56,10 @@ export interface Exchange {
|
|
|
56
56
|
* Unless specified otherwise, uses the same channel as was used to declare the exchange.
|
|
57
57
|
* This is generally not recommended, as each producer should have its own dedicated channel.
|
|
58
58
|
* Consider using `connection.createProducerForExchange` instead.
|
|
59
|
+
*
|
|
60
|
+
* @param options - Optional producer options (serialization, routing key, hooks, …).
|
|
61
|
+
* Set `options.isConfirmed` to `true` to open the dedicated channel in confirm mode.
|
|
62
|
+
* Has no effect when `options.channel` is supplied.
|
|
59
63
|
*/
|
|
60
64
|
createProducer<T>(options?: ProducerOptions<T> & {
|
|
61
65
|
isConfirmed?: boolean;
|
|
@@ -44,6 +44,10 @@ export interface Queue {
|
|
|
44
44
|
* Publishes via the default RabbitMQ exchange, routing messages directly to this queue by name.
|
|
45
45
|
* By default, creates a new dedicated channel for the producer.
|
|
46
46
|
* Pass a channel in `options` to use a specific one instead.
|
|
47
|
+
*
|
|
48
|
+
* @param options - Optional producer options (serialization, routing key, hooks, …).
|
|
49
|
+
* Set `options.isConfirmed` to `true` to open the dedicated channel in confirm mode.
|
|
50
|
+
* Has no effect when `options.channel` is supplied.
|
|
47
51
|
*/
|
|
48
52
|
createProducer<T>(options?: ProducerOptions<T> & {
|
|
49
53
|
isConfirmed?: boolean;
|
|
@@ -56,6 +56,10 @@ export interface Exchange {
|
|
|
56
56
|
* Unless specified otherwise, uses the same channel as was used to declare the exchange.
|
|
57
57
|
* This is generally not recommended, as each producer should have its own dedicated channel.
|
|
58
58
|
* Consider using `connection.createProducerForExchange` instead.
|
|
59
|
+
*
|
|
60
|
+
* @param options - Optional producer options (serialization, routing key, hooks, …).
|
|
61
|
+
* Set `options.isConfirmed` to `true` to open the dedicated channel in confirm mode.
|
|
62
|
+
* Has no effect when `options.channel` is supplied.
|
|
59
63
|
*/
|
|
60
64
|
createProducer<T>(options?: ProducerOptions<T> & {
|
|
61
65
|
isConfirmed?: boolean;
|
|
@@ -44,6 +44,10 @@ export interface Queue {
|
|
|
44
44
|
* Publishes via the default RabbitMQ exchange, routing messages directly to this queue by name.
|
|
45
45
|
* By default, creates a new dedicated channel for the producer.
|
|
46
46
|
* Pass a channel in `options` to use a specific one instead.
|
|
47
|
+
*
|
|
48
|
+
* @param options - Optional producer options (serialization, routing key, hooks, …).
|
|
49
|
+
* Set `options.isConfirmed` to `true` to open the dedicated channel in confirm mode.
|
|
50
|
+
* Has no effect when `options.channel` is supplied.
|
|
47
51
|
*/
|
|
48
52
|
createProducer<T>(options?: ProducerOptions<T> & {
|
|
49
53
|
isConfirmed?: boolean;
|
package/package.json
CHANGED