<div dir="ltr"><div>Context: JMS queues that UPS use are deployed by the WAR deployment (ag-push.war). </div><div><br></div>In order to optimize(*) how the messages are handled internally we planned to tweak various queue properties [1] (on the level of &quot;address-settings&quot;, hornetq-configuration.xml).<div><br></div><div>(*) if I say optimize, I mean it will work without this configuration, but it is not ideal for production</div><div><br></div><div>The bad news is that address-settings can&#39;t be changed on the level of deployment (via #hornetq, or see Clebert&#39;s answer in [2]). We will have to configure it in standalone.xml.</div><div><br></div><div><br></div><div>We&#39;ve brainstormed with Sebi, seems there are two ways out (both should be implemented at some point IMO):</div><div><br></div><div>1) jboss-cli script that will set up WF appropriately (similar as we do with datasource install [3])</div><div><br></div><div>2) WildFly Swarm seems to get a feature to bundle standalone.xml soon [4]</div><div><br></div><div><br></div><div>I just wanted to share this and allow feedback and open the discussion for alternative ideas. I will proceed and offer (1) as of now.</div><div><br></div><div><br></div><div>Cheers,</div><div><br></div><div>~ Lukas</div><div><br></div><div>[1] <a href="https://docs.google.com/drawings/d/13IsJWPSJNYXtst-UVxQYmzH36C_EXQMYYr_jcu7nFmE/edit?usp=sharing">https://docs.google.com/drawings/d/13IsJWPSJNYXtst-UVxQYmzH36C_EXQMYYr_jcu7nFmE/edit?usp=sharing</a></div><div>[2] <a href="http://stackoverflow.com/questions/16816755/hornetq-jms-configure-max-delivery-attempts-in-java-code">http://stackoverflow.com/questions/16816755/hornetq-jms-configure-max-delivery-attempts-in-java-code</a></div><div>[3] <a href="https://aerogear.org/docs/unifiedpush/ups_userguide/index/#gendbds">https://aerogear.org/docs/unifiedpush/ups_userguide/index/#gendbds</a></div><div>[4] <a href="https://issues.jboss.org/browse/SWARM-14">https://issues.jboss.org/browse/SWARM-14</a></div></div>