[rabbitmq-discuss] 3.3.x dynamic shovel, delivery-mode?

Simon MacMullen simon at rabbitmq.com
Thu Jun 12 16:29:19 BST 2014


On 11/06/14 15:35, Angelo Turetta wrote:
> I like very much the new dynamic shovels in 3.3, but I'm missing one key
> feature: how can I force the delivery-mode of messages in transit?

At the moment you can't.

> The old static shovels allowed me to specify:
>
> {publish_properties, [{delivery_mode, 2}]},
>
> While the new api used to define dynamic ones seems not to allow any
> publish_properties, or at least there is no docs about it.

No, there's no equivalent.

One goal for the dynamic shovel was to be a bit simpler than the static 
shovel, which does make it a bit less flexible.

> Is it possible to make messages persistent with the help of dynamic
> shovels? Any chance that default parameters specified for static shovels
> would apply to dynamic ones?

Hmm, that's an interesting idea. Alternatively, switching delivery_mode 
might be a common enough thing to be worth special casing, the way we 
already do for exchange and routing key. Hmm.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list