« Return to Thread: How can I set the queue size of VM transport

Re: How can I set the queue size of VM transport

by meiyong :: Rate this Message:

Reply to Author | View in Thread

Hi,

In that case you need to specify queue-profile in the mule XML configuration. Here is an example of doing it, by using the queue profile:

<mule-environment-properties>
        <queue-profile maxOutstandingMessages="100"/>
</mule-environment-properties>

This strategy is shared for all VM queues in Mule instance.

Regards,
Mei Yong

Hi,

This property is set in <queue-profile> element, which is the queue for SedaComponent not for the VM EventQueue.


Hi,

Check this field: maxOutstandingMessages="1000"

Code comment is: *This specifies the number of messages that can be queued before it starts
     * blocking.
     *
     * @return the max number of messages that will be queued

Regards,
Kynan

youhaodeyi wrote:
Hi,

Yes, I have read this page but it didn't say how to set the queue size.


Kynan Fraser wrote:
Hi,

There is some information on this page under Persistent Queues: http://mule.mulesource.org/display/MULE/Vm+Provider

Regards,
Kynan

youhaodeyi wrote:
VM support event queue for asynchronous events by setting the "queueEvents" property. But how can I set the queue's size in this case?

Thanks.
Regards,
meiyong

 « Return to Thread: How can I set the queue size of VM transport