Is it still possible to configure a vm queue as persistent in Mule 3.4.X?

梦想的初衷 提交于 2019-12-06 10:31:20

问题


I am trying to configure a vm connector like so:

<vm:connector name="recordDeletedActivityDLQStore">
   <vm:queue-profile maxOutstandingMessages="500" >
     <file-queue-store/>
   </vm:queue-profile>
</vm:connector>

Mule Studio complains that is not a permitted child element of vm:queue-profile. This will not build and run either. I've tried other possible inputs for defining the nature of the queue store without any luck. I can't find any documentation on how to configure persistent vm queues that works. Specifically, I have tried adding the attribute persistent="true" to the queue-profile element as described in VM Transport Reference: http://www.mulesoft.org/documentation/display/34X/VM+Transport+Reference

This doesn't seem to be supported anymore either...

Is it still possible to configure a vm queue as persistent in Mule 3.4.X?


回答1:


Your configuration is correct and works: you can see that messages are persisted on disk under .mule/${app_name}/queuestore/${queue_name}/.

Persistence only occurs for one-way VM queues, not request-response ones. For the latter, no queueing occurs whatsoever.

Also, disregard Studio complaints about your configuration not being valid. Mule has the final word on configuration validity, and yours is just fine.



来源:https://stackoverflow.com/questions/18807395/is-it-still-possible-to-configure-a-vm-queue-as-persistent-in-mule-3-4-x

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!