<div dir="ltr">+1 on that. <div><br></div><div>We will not be able to use dynamic shovels in our proxies and product clusters until we can set delivery_mode, in our case to 1 as we never persist messages in the core clusters.<div>
<br></div><div>Actually we set user_id too.</div><div><br></div><div>This usage is actually long-lived rather than dynamic in the usual sense, but it is very inconvenient to have to restart to change configuration, particularly since everything else needed to set up a new vhost in our environment can be done dynamically.</div>
<div><br></div><div>ml</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 12, 2014 at 11:29 AM, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 11/06/14 15:35, Angelo Turetta wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I like very much the new dynamic shovels in 3.3, but I'm missing one key<br>
feature: how can I force the delivery-mode of messages in transit?<br>
</blockquote>
<br></div>
At the moment you can't.<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The old static shovels allowed me to specify:<br>
<br>
{publish_properties, [{delivery_mode, 2}]},<br>
<br>
While the new api used to define dynamic ones seems not to allow any<br>
publish_properties, or at least there is no docs about it.<br>
</blockquote>
<br></div>
No, there's no equivalent.<br>
<br>
One goal for the dynamic shovel was to be a bit simpler than the static shovel, which does make it a bit less flexible.<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is it possible to make messages persistent with the help of dynamic<br>
shovels? Any chance that default parameters specified for static shovels<br>
would apply to dynamic ones?<br>
</blockquote>
<br></div>
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.<br>
<br>
Cheers, Simon<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</font></span></blockquote></div><br></div>